get_title() in plugin
-
Hello ,
i’m working on a plugin to get the first word of the title
i tried : get_title() but that doesnt work since i cant assignt the value to a variable , it will only echo .
i tried the add_filter but that will mess the title which i dont want .
any idea ?
basicaly i need both the content and the title
its working fine for the content since i’m editing it on the fly but i dont want to edit the title and i wans to use the title …
Thanks
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘get_title() in plugin’ is closed to new replies.