Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #36685, comment 4


Ignore:
Timestamp:
04/27/2016 12:45:00 PM (9 years ago)
Author:
sidati
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #36685, comment 4

    initial v1  
    1 Beside nothing will work even `remove_post_type_support` cause `create_initial_post_types` is called before any plugin or theme :P, so if you remove post-formats using the function `remove_post_type_support` will not remove the metabox on post editor page
     1~~Beside nothing will work even `remove_post_type_support` cause `create_initial_post_types` is called before any plugin or theme :P, so if you remove post-formats using the function `remove_post_type_support` will not remove the metabox on post editor page~~
     2
     3Actually it does work because `create_initial_post_types` is called again on `init` action, this is little bit tricky