Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Plugins hooks & filters on templates' functions.php file
#1
Hello, is there any chance to use plugin's hooks on templates' function.php file?
I can't achieve this to work
If not, that is my request.
Reply
#2
Because we don’t know if all templates will have a function.php file it will be hard to always have a plugin hook there.

However, the index-pretemplate hook runs directly after function.php and should work just as well.
“Don’t forget the important ˚ (not °) on the a,” says the Unicode lover.
Help us test a key change for the core! ¶ Problems with GetSimple? Be sure to enable debug mode!
Reply
#3
Thanks, but...
I'd like to make a theme customizable through the admin, and in this case it will need a companion plugin for the theme settings. Wordpress's remaining vicious, I still have 8-).

Don't mind, just it's my feature request.
Reply




Users browsing this thread: 2 Guest(s)