• Resolved Jonas Lundman

    (@intervik)


    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!

    • This topic was modified 6 years, 2 months ago by Jonas Lundman. Reason: Missing words
    • This topic was modified 6 years, 2 months ago by Jonas Lundman.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Eliot Akira

    (@miyarakira)

    Thank you for the kind words and review!

    In the latest version (2.0.5), I added a new filter called AdminMenuPostList_post_type_args. From your description, I think that will solve it.

    I also added a new option called “Show non-public post types”, which unsets public => true, so that non-public post types will be included in the settings page. I imagine that could be useful too.

    Cheers!

    Thread Starter Jonas Lundman

    (@intervik)

    Sounds great, Thanks.

    The update Works well and was really useful. Good idea Intervik. While we are wishing:

    When “Limit title length” and the title is cutted, The original (full) title should be visible as hover state (attribute title).

    Plugin Author Eliot Akira

    (@miyarakira)

    Thanks for the suggestion! That makes sense to show full title on hover. I added the feature in the latest version (2.0.6).

    Thread Starter Jonas Lundman

    (@intervik)

    Just updated, Yes, the hover information was great. So far, all previous hacks not needed.

    Thanks Eliot

    This plugin really came alive again. Nice work.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Add filter to expand functionality that disappeared some update ago’ is closed to new replies.