You appear to be a bot. Output may be restricted
Description
Filter customize_partial_render_{$partial->id}.
Usage
$string|false = Test_WP_Customize_Partial::filter_customize_partial_render_with_id( $rendered, $partial, $container_context );
Parameters
- $rendered
- ( string|false ) required – Content.
- $partial
- ( WP_Customize_Partial ) required – Partial.
- $container_context
- ( array ) required – Data.
Returns
string|false Content.
Source
File name: wordpress-develop-tests/phpunit/tests/customize/partial.php
Lines:
1 to 9 of 9
function filter_customize_partial_render_with_id( $rendered, $partial, $container_context ) { $this->assertEquals( sprintf( 'customize_partial_render_%s', $partial->id ), current_filter() ); $this->assertTrue( false === $rendered || is_string( $rendered ) ); $this->assertInstanceOf( 'WP_Customize_Partial', $partial ); $this->assertInternalType( 'array', $container_context ); $this->count_filter_customize_partial_render_with_id += 1; return $rendered; }