Server Response Headers Contain X-Frame-Options
// Server Response Headers Contain X-Frame-Options header(‘X-Frame-Options: SAMEORIGIN’);Continue reading
Join 2,000,000+ Professionals who use WPCode to Future-Proof Their Websites!
// Server Response Headers Contain X-Frame-Options header(‘X-Frame-Options: SAMEORIGIN’);Continue reading
// Server Response Headers Contain Strict-Transport-Security header(‘Strict-Transport-Security: max-age=31536000;’);Continue reading
// Server Response Headers Contain Strict-Transport-Security header(‘Strict-Transport-Security: max-age=31536000;’);Continue reading
// Disable the Plugin and Theme Editor if ( ! defined( ‘DISALLOW_FILE_EDIT’ ) ) { define( ‘DISALLOW_FILE_EDIT’, true ); }Continue reading
remove_action( ‘xmlrpc_rsd_apis’, ‘rest_output_rsd’ ); remove_action( ‘wp_head’, ‘rest_output_link_wp_head’ ); remove_action( ‘template_redirect’, ‘rest_output_link_header’, 11 );Continue reading
add_filter(‘wp_is_application_passwords_available’, ‘__return_false’);Continue reading
// Register the meta box function add_menu_order_meta_box() { add_meta_box( ‘menu_order_meta_box’, // Unique ID ‘Menu Order’, // Box title ‘display_menu_order_meta_box’, // Content callback ‘post’, // Post type ‘side’, // Context ‘default’ // Priority ); } add_action(‘add_meta_boxes’, ‘add_menu_order_meta_box’); // Display the meta…Continue reading
/** * 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
add_shortcode( ‘word-cloud’, ‘s11_word_cloud’ ); function s11_word_cloud( $atts ) { $atts = shortcode_atts( array( ‘words’ => ‘Awesome, Fabulous’, ‘colors’ => ‘#21759b, #d54e21, #464646’, ), $atts ); $colors = explode( ‘,’, $atts[‘colors’] ); $words = array_filter( explode( ‘,’, $atts[‘words’] ) ); $words…Continue reading
Loading the Elevenlabs Text to Speech AudioNative Player…Continue reading