WordPress.org

Make WordPress Core

Ticket #18660: post-template.php.diff

File post-template.php.diff, 516 bytes (added by nathanrice, 7 years ago)
  • wp-includes/post-template.php

     
    166166        $content = get_the_content($more_link_text, $stripteaser);
    167167        $content = apply_filters('the_content', $content);
    168168        $content = str_replace(']]>', ']]>', $content);
     169       
     170        do_action( 'before_the_content', $content );
    169171        echo $content;
     172        do_action( 'after_the_content', $content );
    170173}
    171174
    172175/**