Add apply_filters for registering the custom post types

Hi,
for my testimonials items I need an archive page, that shows all the testimonials. That is currently not possible.

Could you add 'apply_filters' for all args of the custom post types? 

Ie., in meta-testimonial.php change the line 
register_post_type( 'testimonial', $args);

to 

register_post_type( 'testimonial', apply_filters('mfn_testimonials_post_type_args',$args));


Comments

  • Hi,

    at this moment, we have too many features in queue but when we finish them, we will consider your suggestion of course.

    Thanks!
  • This is easy to implement - not more than 20 minutes - and allows developers to extend the theme as needed. We have a big multisite system that uses BeTheme and we really need to make all the changes upgrade-safe.

    Can you please add this in future release?
  • Like we wrote above, we need to sort previous features first. Most of fixes/features takes less than 30 minutes but we have hundreds of them and we need to do them in the correct order.
  • Well, I can do that for you and send you the files. Would that suit you? Or, is the github to send pull request? I have more such issues, and everyone could benefit from this...
Sign In or Register to comment.