Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
hooks
#1
Some general hooks issues, ideas.

Was playing with and auditing hooks
I found these Issues

These are in docs but not in code
  • support-save
  • settings-cpsettings

These are in code but not in docs
  • html-editor-init
  • pages-main

  • settings-user-extras
  • file-extras (doc typo?)
  • save-sitemap (doc typo?)

Anyone know the deal on these so the wiki can be updated ?

Also
I would like to see a new hook after debuglog, so we can use our own debugging tools to read the global or whatever.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#2
thanks for doing this auditing Shawn! I am sure that hook list needs updated and what you found sounds like it is correct.

What do you mean doc typo?
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#3
ccagle8 Wrote:thanks for doing this auditing Shawn! I am sure that hook list needs updated and what you found sounds like it is correct.

What do you mean doc typo?
The docs have these two which look like typos for those two actual hooks above.

files-extras
sitemap-save
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply
#4
Shawn, yes, you are right
- Chris
Thanks for using GetSimple! - Download

Please do not email me directly for help regarding GetSimple. Please post all your questions/problems in the forum!
Reply
#5
What's the html-editor-init hook for?
Any plugins using it?
Reply
#6
I think it is after the editor is inserted, which is kind of stupid since it should always be initialized in javascript, but it is not instead we insert it inline in edit.php.

It will probably break in 3.3, at which point a javascript callout hook will probably be used.
and this hook will be used to replace the editor or something else will be.
NEW: SA Admin Toolbar Plugin | View All My Plugins
- Shawn A aka Tablatronix
Reply




Users browsing this thread: 1 Guest(s)