Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Hi @fliespl

    Closest we have to already in place, ready to use code would be this filter which runs the collected and compiled arguments for any given post type, for last moment manipulation before the registration. It should map exactly to the args structure that you pass to register_post_type()

    https://github.com/WebDevStudios/custom-post-type-ui/blob/1.9.0/custom-post-type-ui.php#L510-L520

    We definitely try for as many of the arguments as we can, but we also definitely don’t have 100% coverage of all post type/taxonomy arguments. At this point are not actively trying to either.

    I can type up a quick example of how to use the filter linked above, if needed, but I have a hunch that you’ll be fine with this here. Let me know otherwise.

    Thank you. Already done it same way ??

    Just pointed out something that might have been missed. If that’s by design – I think it’s safe to close this request. ??

    Plugin Contributor Michael Beckwith

    (@tw2113)

    The BenchPresser

    Word, and yeah at the moment by design, with our filters on the individual arguments for each content type being proverbial lifesavers for the rest of it. Possibly some of my best decisions on the plugin here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Rewrite ep_mask support’ is closed to new replies.