Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Code pour supporter l'AMP (Accelerated Mobile Pages) dans bbPress (plugin Code Snippets)
/**
* Ajoute le format de l'AMP (Accelerated Mobile Pages) pour bbPress
*/
add_action( 'amp_init', 'amp_bbpress_init' );
function amp_bbpress_init() {
add_post_type_support( 'topic', AMP_QUERY_VAR );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.