-
-
Save BeardedGinger/a2847d1b46d3d020f23183db7536b259 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'amp_post_template_dir', 'lc_custom_amp_templates' ); | |
/** | |
* Custom template directory for our AMP pages | |
*/ | |
function lc_custom_amp_templates() { | |
return plugin_dir_path( __FILE__ ) . '/amp-templates'; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment