add_action(‘init’, function () { remove_action(‘wp_head’,’print_emoji_detection_script’,7); remove_action(‘wp_print_styles’,’print_emoji_styles’); remove_action(‘wp_head’,’wp_oembed_add_discovery_links’,10); remove_action(‘wp_head’,’rest_output_link_wp_head’,10); });Continue reading
/** * Get X Media – Canada Hreflang (Output Buffering Method) * * @package GetXMedia_Hreflang * @author Get X Media * @version 3.0.1 */ if ( ! defined( ‘ABSPATH’ ) ) { exit; } /** * Inject hreflang tag into…Continue reading
/** * Clean RankMath Data Extractor – No Styling * Universal solution for extracting RankMath Local Business data * Works across any WordPress site with RankMath * Add to WP Code Snippets – PHP Snippet – Run Everywhere * *…Continue reading
/** * Get X Media – Force RankMath Canada Targeting (Aggressive) * * @package GetXMedia_RankMath_CA * @author Get X Media * @version 2.0.0 */ if ( ! defined( ‘ABSPATH’ ) ) { exit; } /** * Replace RankMath’s en_US locale…Continue reading
//la form contatti non va altrimenti add_filter(‘wpcf7_recaptcha_threshold’, function() { return 0.25; });Continue reading
function normalize_status($status) { $status_lower = strtolower($status); if ($status_lower == ‘published’) { return ‘publish’; } elseif ($status_lower == ‘archived’) { return ‘trash’; } else { return ‘draft’; } }Continue reading
echo ‘ ‘; echo ‘DETAILS‘; echo ‘ATTEND‘; echo ‘ ‘;Continue reading
/** * Activeer alle automatische updates (globaal), * maar laat zichtbare acties alleen draaien voor Pixelsz beheerders. */ if ( ! defined( ‘ABSPATH’ ) ) exit; /** * Hulpfunctie: check of huidige gebruiker een Pixelsz beheerder is */ function pixelsz_is_beheerder()…Continue reading
/************* Change dashboard post to Investering *************/ add_action( ‘init’, ‘cp_change_post_object’ ); function cp_change_post_object() { $get_post_type = get_post_type_object(‘post’); $labels = $get_post_type->labels; $labels->name = ‘Investeringer’; $labels->singular_name = ‘Investering’; $labels->add_new_item = ‘Legg til investering’; $labels->edit_item = ‘Rediger investering’; $labels->new_item = ‘Ny investering’; $labels->view_item…Continue reading