WordPress at a glance
function is not described

WP_Customize_Manager::customize_preview_override_404_status() public WP 4.0.0

Deprecated from version 4.7.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.

Prevent sending a 404 status when returning the response for the customize preview, since it causes the jQuery Ajax to fail. Send 200 instead.

{} It's a method of the class: WP_Customize_Manager{}

No Hooks.


null. Nothing.


$WP_Customize_Manager = new WP_Customize_Manager();


Since 4.0.0 Introduced.
Deprecated 4.7.0

Code of WP_Customize_Manager::customize_preview_override_404_status() WP 5.7.2

public function customize_preview_override_404_status() {
	_deprecated_function( __METHOD__, '4.7.0' );