I have created an admin plugin where I wanted to make use of shortcode in plugin file. I did as do_shortcode('[code id=5]'); This is clearly working on post and other positions where it should. But, not working on the plugin. My code:
function applicant_new_form(){
echo "<h3>Add new application</h3>";
do_shortcode('[php snippet=3]');
}
Any Idea?