Used By
Used By | Description |
---|---|
wp-includes/customize/class-wp-customize-selective-refresh.php: WP_Customize_Selective_Refresh::handle_render_partials_request() | Handles the Ajax request to return the rendered partials for the requested placements. |
Checks whether the request is for rendering partials.
Note that this will not consider whether the request is authorized or valid, just that essentially the route is a match.
(bool) Whether the request is for rendering partials.
File: wp-includes/customize/class-wp-customize-selective-refresh.php
public function is_render_partials_request() { return ! empty( $_POST[ self::RENDER_QUERY_VAR ] ); }
Version | Description |
---|---|
4.5.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_selective_refresh/is_render_partials_request