Skip to main content

All Questions

Filter by
Sorted by
Tagged with
0 votes
1 answer
63 views

Multiple array for post_content on plugin activation

sorry for my bad English. I want to create multiple pages when activating a plugin. This also works, but how do I get different content in the different pages? if (!current_user_can('activate_plugins')...
EndlessOne's user avatar
0 votes
1 answer
54 views

Choose default template for a page with code

I am creating a page using the wp_insert_code the page is being created just find. I want to choose a default template for the page I am creating which the template is inside plugin folder in a ...
MMTDesigner's user avatar