amp_post_template_customizer_settings

apply_filters( 'amp_post_template_customizer_settings',  array $settings,  WP_Post $post )

Description #

Filter AMP Customizer settings.

Inject your Customizer settings here to make them accessible via the getter in your custom style.php template.
Example:
echo esc_html( $this->get_customizer_setting( 'your_setting_key', 'your_default_value' ) );


Parameters #

$settings

Array of AMP Customizer settings.

$post

Current post object.



Changelog #

Changelog
Version Description
0.4 Introduced.