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/.
Add the fields to the user edit screen
// Add the fields to user edit screen. add_action( 'show_user_profile', 'add_extra_user_fields' ); add_action( 'edit_user_profile', 'add_extra_user_fields' );…
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…
MemberPress: Generate All Invoices
If the MemberPress PDF Invoice add-on is activated on the website, MemberPress will start generating invoices…
Limit user posts
A settings page to set the number of posts all users can create
Remove Manage Sites
Removes the Manage Sites column from the licenses table on the customer purchase history page
Completely Disable Comments
add_action('admin_init', function () { // Redirect any user trying to access comments page global $pagenow; if…
om-reactv3.js
// Using React Router V3 import { browserHistory } from 'react-router'; class App extends React.component {…
Defer or Async CSS Loading
Defer or Async CSS Loading
Untitled Snippet
google-site-verification=CozAWt526B1a5qKqT36OHU-kxkUBvZ4UWBKqqjkLtIw