WP_Customize_Selective_Refresh::is_render_partials_request()
Checks whether the request is for rendering partials.
Description Description
Note that this will not consider whether the request is authorized or valid, just that essentially the route is a match.
Return Return
(bool) Whether the request is for rendering partials.
Source Source
File: wp-includes/customize/class-wp-customize-selective-refresh.php
public function is_render_partials_request() { return ! empty( $_POST[ self::RENDER_QUERY_VAR ] ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.5.0 | Introduced. |