Add filter to expand functionality that disappeared some update ago
-
Hi, and thanks for a great plugin.
We used this for many years and still have to hack the core to make it work with some custom post types. Even if post types are private or non-public, we still might use the admin-menu to list their current posts. Since some updates ago, filters applied to $args for child-posts as well. Perfect, but all the menues for our special types dissappeared with that update:
Seems like a new helper function or architecture arrived, without a filter:
function get_all_post_types() { return get_post_types(array( 'public' => true )); }
We also need to filter in
public => true
to all our post types in the Menu Post List settings page. A filter here would sort this out as well. Just as you added:$child_query = apply_filters('AdminMenuPostList_child_query_args' ....
Thanks!
- The topic ‘Add filter to expand functionality that disappeared some update ago’ is closed to new replies.