Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
add_action( 'init', 'lc_amp_customization_init', 15 );
/**
* Add our customizations for the AMP plugin.
*/
function lc_amp_customization_init() {
add_post_type_support( 'tutorials', AMP_QUERY_VAR );
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment