WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #42855, comment 11


Ignore:
Timestamp:
02/28/2018 12:12:49 AM (17 months ago)
Author:
MikeSchinkel
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #42855, comment 11

    initial v1  
    11Replying to [comment:8 joyously]:
    22
    3 ''CORRECTION:''' `get_template_part()` does not have a general purpose "pre" action hook.  It's pre hook requires a plugin to have advanced knowledge of the slug, for which an effectively infinite number of permutation could be used.
     3'''CORRECTION:''' `get_template_part()` does not have a general purpose "pre" action hook.  It's pre hook requires a plugin to have advanced knowledge of the slug, for which an effectively infinite number of permutation could be used.
    44
    55So we would also need a new general purpose "pre" action hook for `get_template_part()`.