Setting a variable as a function call to use in an if statement within PHP

前端 未结 1 510
醉酒成梦
醉酒成梦 2021-01-26 03:15

Ok, so am doing some Wordpress edits, and I writ a if statement.





        
相关标签:
1条回答
  • 2021-01-26 03:59

    Use get_the_title() instead of the_title().

    Source: http://codex.wordpress.org/Function_Reference/get_the_title

    0 讨论(0)
提交回复
热议问题