Home › Forums › General Issues › Remove/filter WSIWYG output – remove HTML tags › Reply To: Remove/filter WSIWYG output – remove HTML tags
Hi Elliot,
I did some digging around to try and find where I had read that and came up with these 2
http://hardcorewp.com/2013/always-omit-closing-php-tags-in-wordpress-plugins/
http://wordpress.org/support/topic/functionsphp-in-a-child-theme
I think in my case having read the WP.org one and the error saying it was on line 35 when my functions.php only went to line 33 this probably surmises by problem:
The Codex isn’t wrong. There should be closing PHP tag at the end of the file. Furthermore, that closing tag has to be the very last line of the file. If you have any blank lines after the closing tag, that can break things, too.
There isn’t any visible text after the closing tag but it appears it might not have been the last line…
Will check that tonight and try putting the closing tag back in.
Thanks
Andrew
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
ACF wouldn’t be so widely used in WordPress if it didn’t have some pretty amazing capabilities. In this article, we look at a few of the features we’ll discuss during “7 things you didn’t know you could do with ACF” at #WPEDecode later this month. https://t.co/5lnsTxp81j pic.twitter.com/Yf0ThPG1QG
— Advanced Custom Fields (@wp_acf) March 16, 2023
© 2023 Advanced Custom Fields.
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.