WP_Customize_Selective_Refresh::handle_error

SummerySummery

Handles PHP errors triggered during rendering the partials.

Syntax

WP_Customize_Selective_Refresh::handle_error( int $errno, string $errstr, string $errfile = null, string $errline = null )

DescriptionDescription

These errors will be relayed back to the client in the Ajax response.

ParametersParameters

$errno

(int) (Required) Error number.

$errstr

(string) (Required) Error string.

$errfile

(string) (Optional) Error file.

Default value: null

$errline

(string) (Optional) Error line.

Default value: null

ReturnReturn

(true) Always true.

SourceSource

File: wp-includes/customize/class-wp-customize-selective-refresh.php


			

ChangelogChangelog

Changelog
Version Description
4.5.0 Introduced.
Scroll to Top