amp_post_template_css

do_action( 'amp_post_template_css',  AMP_Post_Template $this )

Description #

Fires when printing CSS styles in Reader mode templates.

Callbacks should print bare CSS without any <style> or <link> tags. As an alternative to using this, please consider:
add_action( 'amp_post_template_head', function() { wp_print_styles( 'foo' ); } );


Parameters #

$this

(AMP_Post_Template)



Changelog #

Changelog
Version Description
0.3 Introduced.