Make WordPress Core

Changes between Initial Version and Version 3 of Ticket #35253


Ignore:
Timestamp:
12/29/2015 03:13:59 PM (8 years ago)
Author:
SergeyBiryukov
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #35253

    • Property Status changed from new to closed
    • Property Resolution changed from to invalid
    • Property Milestone changed from Awaiting Review to
  • Ticket #35253 – Description

    initial v3  
    44
    55So, is there a better filter or is this mis-marked in the codex as deprecated?
    6 
     6{{{
    77function jspr_headline( $title, $id) {
    88   if (  is_page( $id) &&  $field = get_field('page_headline') ) {
     
    1313}
    1414add_filter( 'the_title', 'jspr_headline', 10, 2 );
     15}}}