WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about customize_render_partials_before

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/customize/class-wp-customize-selective-refresh.php do_action 344 /**
* Fires immediately before partials are rendered.
*
* Plugins may do things like call wp_enqueue_scripts() and gather a list of the scripts
* and styles which may get enqueued in the response.
*
* @since 4.5.0
*
* @param WP_Customize_Selective_Refresh $refresh Selective refresh component.
* @param array $partials Placements' context data for the partials rendered in the request.
* The array is keyed by partial ID, with each item being an array of
* the placements' context data.
*/

Hook Parameters

Parameter Type Name Description
WP_Customize_Selective_Refresh $refresh Selective refresh component.
array $partials Placements' context data for the partials rendered in the request.