-
Henry Wright replied to the topic BuddyPress Permissions in the forum Third Party Plugins 9 years, 9 months ago
@lepittenger Right, I see now. Looking at
wp_insert_post()
, all I can see that’s available to hook into iswp_insert_post_empty_content
Perhaps try something like this:
function lepittenger_custom_edit_page( $maybe_empty, $postarr ) {
// Your page ID here.
$page_id = 962;// Your user ID here.
$user_id = 3;// Get the…[Read more]
-
Henry Wright replied to the topic BuddyPress Permissions in the forum Third Party Plugins 9 years, 9 months ago
Hey @lepittenger
There may be a plugin out there that can do all that you need but you may be able to achieve what you need without a plugin
WordPress uses Roles and Capabilities to dictate what a user can and cannot do.
Take editing a page for example. Any user with a role of Editor or above will be able to do that so all you’d need to do is…[Read more]
@lepittenger
Active 6 months, 3 weeks ago