WP – Auto-Remove Nonsense Admin Notices

function wp_auto_remove_admin_notices() { $notice_texts = [ // Elementor version update ‘The version was updated successfully!’, // Elementor data update ‘The database update process is now complete. Thank you for updating to the latest version!’, // WP Rocket enable/disable plugin ‘One…Continue reading

WP – Auto-Remove Nonsense Admin Notices

function wp_auto_remove_admin_notices() { $notice_texts = [ // Elementor version update ‘The version was updated successfully!’, // Elementor data update ‘The database update process is now complete. Thank you for updating to the latest version!’, // WP Rocket enable/disable plugin ‘One…Continue reading

Duplicate Post/Page Link

// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘wpcode_snippet_duplicate_post_link’ ) ) { /** *…Continue reading

Duplicate Post/Page Link (copy)

// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘wpcode_snippet_duplicate_post_link’ ) ) { /** *…Continue reading

Duplicate Post/Page Link

// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘wpcode_snippet_duplicate_post_link’ ) ) { /** *…Continue reading

Admin/Floating Toolbar – Backend CSS

/** * MX Floating Toolbar * – Requires snippet Admin/Floating Toolbar * – Extended for Users search along with Plugins; requires modified (named) version of snippet * * Updated 2024-07-25 * 2024-10-23 – swapped F-codes with dashicon glyphs because WPCode…Continue reading

Duplicate Post/Page Link (copy)

// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘wpcode_snippet_duplicate_post_link’ ) ) { /** *…Continue reading

Duplicate Post/Page Link (copy)

// Add duplicate button to post/page list of actions. add_filter( ‘post_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); add_filter( ‘page_row_actions’, ‘wpcode_snippet_duplicate_post_link’, 10, 2 ); // Let’s make sure the function doesn’t already exist. if ( ! function_exists( ‘wpcode_snippet_duplicate_post_link’ ) ) { /** *…Continue reading

Admin/Nav Extension – JS

jQuery(function($) { var $page_title = $(“#wpbody-content > .wrap > h1”); var $current_menu_item = $(“#adminmenu li.wp-has-current-submenu a.wp-has-current-submenu”); if ($current_menu_item.length == 1) { var $menu_links = []; var $submenu = $current_menu_item.parent().find(“ul > li > a”); var $header_nav = $(“ “).addClass(“mx_nav”); var $title…Continue reading