• This: https://www.role-editor.com/allow-user-edit-selected-posts/ – does not work for custom post types. Dont know why its hardcoded into plugin to use just post type ‘post’. I have to remove that restriction in code to make it work for me.

    I need change it here: post-edit-access-user.php in add_child_pages function. Please change that to work with every post type. Just remove ‘post_type’ => ‘post’ with for example ‘post_type’ => ‘any’, and remove other ‘post’ conditions.

    thx

Viewing 1 replies (of 1 total)
  • Plugin Author Vladimir Garagulya

    (@shinephp)

    add_chiled_pages() uses ‘page’ condition, as only ‘page’ post type has child pages at WordPress by default.

    Clariry, do you use such hierarchy structure for other custom post types?

Viewing 1 replies (of 1 total)
  • The topic ‘User edit for selected posts – dont work for custom post types’ is closed to new replies.