// Disable Emoji Script / Kiri Vadivelu / 2026 function disable_emoji_script() { // Remove the inline emoji detection script from the frontend head remove_action(‘wp_head’, ‘print_emoji_detection_script’, 7); // Remove the emoji detection script from the admin area remove_action(‘admin_print_scripts’, ‘print_emoji_detection_script’); // Remove…Continue reading
// Disable Comments Link / Kiri Vadivelu / 2026 add_filter(‘feed_links_show_comments_feed’, ‘__return_false’);Continue reading
// 1. Algoritmo de Luhn para validar que el IMEI sea real (15 dígitos) function myceluya_validar_imei($imei) { $imei = preg_replace(‘/[^0-9]/’, ”, $imei); if (strlen($imei) !== 15) return false; $sum = 0; for ($i = 0; $i < 15; $i++) {…Continue reading
// Disable All Search / Kiri Vadivelu / 2026 function disable_search_query( $query, $error = true ) { if ( is_search() && !is_admin() ) { $query->is_search = false; $query->query_vars[‘s’] = false; $query->query[‘s’] = false; if ( $error ) { $query->is_404 =…Continue reading
// No Index Category / Kiri Vadivelu / 2026 add_filter(‘wp_robots’, ‘no_index_category’); function no_index_category(array $robots) { // Check if the current post has ‘members’ category if (is_single() && has_category(‘members’)) { $robots[‘noindex’] = true; } return $robots; }Continue reading
// No Index Page / Kiri Vadivelu / 2026 add_filter( ‘wp_robots’, ‘no_index_page’ ); function no_index_page( $robots ) { if ( is_page() ) { $robots[‘noindex’] = true; } return $robots; }Continue reading
function rd_disable_wpsl_default_single_location_output( $skip ) { return is_singular( ‘wpsl_stores’ ) ? true : $skip; } add_filter( ‘wpsl_skip_cpt_template’, ‘rd_disable_wpsl_default_single_location_output’ );Continue reading
remove_action( ‘wp_footer’, ‘wpcomsh_footer_rum_js’ ); // remove frontend // remove_action( ‘admin_footer’, ‘wpcomsh_footer_rum_js’ ); // remove backendContinue reading