Disable Astra’s Native AMP Functionality

Disable Astra’s Native AMP Functionality

If you want to disable Astra’s integration for AMP, use custom code snippet mentioned below.

Add mentioned filter into child theme’s functions.php file.

// Disable Astra Theme’s Native AMP support.
add_filter( ‘astra_amp_support’, ‘__return_false’ );

Read more about Astra’s AMP integration and other related docs –

Native AMP Support in AstraConfigure AMP Plugin

上次修改 2022.1.1