customize_render_partials_before

customize_render_partials_before

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('customize_render_partials_before') is found 1 times:

  • /wp-includes/customize/class-wp-customize-selective-refresh.php line 344
    340
    341
    342
    343
    344
    345
    346
    347
    348
    349
    350
    * @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.
     */
    do_action( 'customize_render_partials_before', $this, $partials );
     
    set_error_handler( array( $this, 'handle_error' ), error_reporting() );
     
    $contents = array();
     
    foreach ( $partials as $partial_id => $container_contexts ) {