PHP code snippet doesn’t work on get_post_snippet function in a theme.
Shortcode Options: PHP Code
Snippet: echo “test snippet”;
<?php echo get_post_snippet(‘test’); ?>
get_post_snippet function doesn’t put out the text
‘test snippet’ but the whole php code text ‘echo “test snippet”;’
- The topic ‘[Plugin: Post Snippets] PHP code snippet doesn't work on get_post_snippet in the theme’ is closed to new replies.