Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #45955, comment 1


Ignore:
Timestamp:
01/12/2019 06:34:15 AM (6 years ago)
Author:
mukesh27
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #45955, comment 1

    initial v1  
    1 @taskotr Theme already used {{{ add_filter( 'get_the_archive_title', 'twentynineteen_get_the_archive_title' ); }}} archive filter with priority of 10 so if you want to override that filter with your plugin functionality then you have to add high priority then 10 then your filter works in Twenty Nineteen.
     1Hi @taskotr, Welcome to WordPres Trac! Thanks for the report.
     2
     3
     4Theme already used {{{ add_filter( 'get_the_archive_title', 'twentynineteen_get_the_archive_title' ); }}} archive filter with priority of 10 so if you want to override that filter with your plugin functionality then you have to add high priority then 10 then your filter works in Twenty Nineteen.
    25
    36For ex.