file:///Users/severenhenderson/Downloads/pinterest-b4939.htmlContinue reading
Category: Admin
Add Textbox To Donation Form
/** * Shows how to add a custom text box in a donation form. * In this example, we are adding a text box to collect a special referral code that the admin can read later. * * This snippet…Continue reading
Contato
deneme
Loading the Elevenlabs Text to Speech AudioNative Player…Continue reading
Disable WordPress Admin Bar for all users
/* Disable WordPress Admin Bar for all users */ add_filter( ‘show_admin_bar’, ‘__return_false’ );Continue reading
WP Rocket Query Monitor Debug (Disable with Query Monitor)
add_action( ‘before_rocket_clean_domain’, function() { do_action( ‘qm/cease’ ); } );Continue reading
MemberPress: Manually Refresh Member Data
/** * Manually refresh all members’ data. * * Once this snippet is added, visit /wp-admin/?update-member-data=true on your site to update all member data. * After running the update, clear any site cache and check the Members page again. */…Continue reading
OpenBiblio
OpenBiblio Install Instructions Contents: Release Notes System requirements Install Instructions Setup of Userlogin Updating from a previous version of OpenBiblio Release Notes: Version 0.8 is recommended for new installs. Updating older versions of OpenBiblio is highly recommended because the most…Continue reading
S7 Tools – Media Library Dashboard
// Create a custom admin page function images_with_link_and_size_menu() { add_media_page( ‘Media Library Optimization Dashboard’, ‘Media Optimization’, ‘manage_options’, ‘media-library-optimization-dashboard’, ‘media_library_optimization_dashboard’ ); } add_action(‘admin_menu’, ‘images_with_link_and_size_menu’); // Get posts where image is embedded function find_post_using_image($image_url) { global $wpdb; // The modified query includes…Continue reading
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 $key => $column ){ $ordered_columns[$key] = $column; if( ‘order_date’ == $key ){ $ordered_columns[‘order_notes’] = __( ‘Notes’, ‘woocommerce’); } } return $ordered_columns; } add_action( ‘manage_shop_order_posts_custom_column’…Continue reading