Server Response Headers Contain Permissions-Policy

//Server Response Headers Contain Permissions-Policy header(“Permissions-Policy: accelerometer ‘none’ ; ambient-light-sensor ‘none’ ; autoplay ‘none’ ; camera ‘none’ ; encrypted-media ‘none’ ; fullscreen ‘none’ ; geolocation ‘none’ ; gyroscope ‘none’ ; magnetometer ‘none’ ; microphone ‘none’ ; midi ‘none’ ; payment…Continue reading

Disable REST API Links

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 Menu Order to Posts

// 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