om-reactv4.js
// Using React Router V4 import React from "react"; import { withRouter } from "react-router"; class…
Hem
Octodesigns.se Octodesigns.se Hem Produkter Galleri Kontakta mig © 2024 Octodesigns.se All rights reserved. Hem Produkter Galleri…
Dequeue CSS files conditionally
Dequeue CSS files conditionally
Google Analytics
Tracking Script
Disable editor in Posts & Pages
Disable editor in Posts & Pages
CHARITABLE_DEBUG mode
This code snippet will define the `CHARITABLE_DEBUG` constant as `true`. See https://www.wpcharitable.com/documentation/charitable-debug-mode/.
Load all Customizer "Additional CSS" in Block Editor
The CSS added to the frontend via the Customizer does not get added to the block…
WP Simple Pay: Set a Per-Form Custom Amount Programmatically
Adjust a single payment form's custom amount value programatically.
Maintain+ Footer Credit
jQuery("footer").append(" Site managed by Maintain+ ")
Note Orders
add_filter( 'manage_edit-shop_order_columns', 'custom_shop_order_column', 90 ); function custom_shop_order_column( $columns ) { $ordered_columns = array(); foreach( $columns as…
event snippet
Event snippet for Phone call lead conversion page
Alter Payment List Quick Actions
Remove the 'Delete' option from the Payment List Quick Action
Modify User Role on Checkout
Modify the user role that is given to users that register during checkout
om-reactv3.js
// Using React Router V3 import { browserHistory } from 'react-router'; class App extends React.component {…