[wp-trac] [WordPress Trac] #41179: Adding get_the_content-filter

WordPress Trac noreply at wordpress.org
Wed Apr 18 16:57:51 UTC 2018


#41179: Adding get_the_content-filter
--------------------------------------+------------------------------
 Reporter:  Ninos Ego                 |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Themes                    |     Version:  4.8
 Severity:  normal                    |  Resolution:
 Keywords:  needs-codex dev-feedback  |     Focuses:  docs, template
--------------------------------------+------------------------------

Comment (by Ninos Ego):

 Why get_the_content() is better unfiltered but the_content() already has
 an filter? If someone wants to have raw content, he can use
 $post->post_content.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/41179#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list