I am adding new post format on my plugin activation using this code
wp_insert_term( 'post-format-interviews_ans', 'post_format' );
But it's not working the rest of the plugin activation code like table generation is working.
post_format is wordpress default texanomy type.
can any one let me know what is the issue.
Aucun commentaire:
Enregistrer un commentaire