User Tools

Site Tools


shawn_a_playground

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
shawn_a_playground [2013/10/30 13:58]
shawn_a created
shawn_a_playground [2013/10/30 15:37] (current)
shawn_a
Line 1: Line 1:
 +=== Hooks and Filters ===
 +<​del>​DEPRECATED</​del>​\\
 +**NEW**\\
 +
 == Front-End Hooks == == Front-End Hooks ==
- 
  
 ^ Hook ID ^ Description ^ Support ^ ^ Hook ID ^ Description ^ Support ^
-| theme-header | Fired in <​head>​ section of theme. Requires get_header() in template | | +| theme-header ​                  ​| Fired in ''​<​head>​'' ​section of theme. Requires ​''​get_header()'' ​in template ​                       ​|  
-| theme-footer | Fired in the footer of the theme. Requires get_footer() in template | | +| theme-footer ​                  ​| Fired in the footer of the theme. Requires ​''​get_footer()'' ​in template ​                   ​|  
-| content-top | Fired right above content area of theme | | +| content-top ​                   | Fired right above content area of theme                                                    ​|  
-| content-bottom | Fired right below content area of theme | | +| content-bottom ​                ​| Fired right below content area of theme                                                    ​|  
-| index-pretemplate | Called before your template files are rendered | | +| index-pretemplate ​             | Called before your template files are rendered ​                                  ​          ​|  
-| index-posttemplate | Called after your template files are rendered | | +| index-posttemplate ​            ​| Called after your template files are rendered ​                                             ​|  
-| error-404 | Called if the page does not existbefore rendering the error pag | |+| error-404 ​                     | Called if the page does not exist before rendering the error page                ​          ​
  
 == Back-End Hooks == == Back-End Hooks ==
 ^ Hook ID ^ Description ^ Support ^ ^ Hook ID ^ Description ^ Support ^
-| admin-pre-header | Called before the header.php template file is loaded | 3.1+ | +| admin-pre-header ​              ​| Called before the ''​header.php'' ​template file is loaded ​                        ​| 3.1+      |  
-| archive-backup | Fired when an archive backup has been created | | +| archive-backup ​                ​| Fired when an archive backup has been created ​                                             ​|  
-| caching-save | Fired before pages.xml file (in data/otheris saved for Caching ​| 3.1+ | +<del>caching-save</​del> ​       ​| Fired before ​''​data/​other/​pages.xml'' ​file is saved for caching ​                 | 3.1-3.3 ​  |  
-| changedata-aftersave | Called after a page is saved | 3.1+ | +| **caching-saved** ​             | Fired after ''​data/other/​pages.xml''​ pagecache file is successfully ​saved        | 3.3     |  
-| changedata-updateslug | Called when slug changed on an existing page | | +| changedata-aftersave ​          ​| Called after a page is saved                                                     ​| 3.1+      |  
-| changedata-save | Called just before a page is saved | | +| changedata-updateslug ​         | Called when slug changed on an existing page                                     ​          ​|  
-| common | Called immediately after the plugin functions are included in common.php | 3.1+ | +| changedata-save ​               | Called just before a page is saved                                               ​          ​|  
-| component-extras | Fired when creating component sections, allows additional form elements ​to be embedded | | +| common ​                        ​| Called immediately after the plugin functions are included in ''​common.php'' ​    | 3.1+      |  
-| component-save | Fired before components are saved | | +| component-extras ​              ​| Fired when creating component sections, allows additional form elements ​                   ​|  
-| edit-content | Creating additional data/fields after the textarea on edit.php ​| | +| edit-extras ​                   | Fired within the Page Options toggle-div within ​''​edit.php'' ​                              ​|  
-| edit-extras | Fired within the Page Options toggle-div within edit.php | | +| file-extras ​                   | Fired at the end of the file list                                                          ​|  
-| file-extras | Fired at the end of the file list | | +| file-uploaded ​                 | Fired after a file has been successfully uploaded ​                                         ​|  
-| file-uploaded | Fired after a file has been successfully uploaded | | +| footer ​                        ​| Called in the footer section of the rendered page                                          ​|  
-| footer | Called in the footer section of the rendered page | | +| download-file ​                 | Called when downloading files via ''​download.php'' ​                                        ​|  
-| download-file | Called when downloading files via download.php | | +| header ​                        ​| Called in the head section of the rendered page                                            ​|  
-| header | Called in the head section of the rendered page | | +| header-body ​                   | Called in the body before output of the page                                     ​          ​|  
-| header-body | Called in the body before output of the page | | +| healthcheck-extras ​            ​| Allows additional Health-check entries ​                                          ​          ​|  
-| healthcheck-extras | Allows additional Health-check entries | | +| html-editor-init ​              ​| Called after ckeditor js is output ​                                              ​          ​|  
-| html-editor-init | Called after ckeditor js is output | | +| index-login ​                   | Fired above the login form                                                       ​          ​|  
-| index-login | Fired above the login form | | +| logfile_delete ​                ​| fired when a logfile is deleted ​                                                           ​|  
-| logfile_delete | fired when a logfile is deleted | | +| login-reqs ​                    ​| Fired on the login page footer ​                                                            ​|  
-| login-reqs | Fired on the login sidebar ​| | +| logout ​                        ​| Fired when a user logs out                                                       ​          ​|  
-| logout | Fired when a user logs out | | +| page-delete ​                   | fired when a page is deleted ​                                                    ​          ​|  
-| page-delete | fired when a page is deleted | | +| pages-main ​                    ​| Fired when the pages maincontent in rendered ​                                    ​          ​|  
-| pages-main | Fired when the pages maincontent in rendered | | +| plugin-hook ​                   | Fired before the Plugin page is rendered ​                                        ​          ​|  
-| plugin-hook | Fired before the Plugin page is rendered | | +| resetpw-error ​                 | Fired when password reset and error                                                        ​|  
-| resetpw-error | Fired when password reset and error | | +| resetpw-success ​               | Fired when password reset and successful ​                                        ​          ​|  
-| resetpw-success | Fired when password reset and successful | | +<del>save-sitemap</​del> ​       ​| Fired before the ''​sitemap.xml'' ​file is saved                                   ​-3.1      ​|  
-| save-sitemap | Fired before the sitemap.xml file is saved | | +| <​del>​settings-cpsettings</​del>​ | Fired before the settings cp_settings file is created ​                           | 2.x-3.0   |  
-| <​del>​settings-cpsettings</​del>​ | Fired before the settings cp_settings file is created | 2.x | +| settings-user ​                 | Fired before the settings user file is created ​                                  ​          ​|  
-| settings-user | Fired before the settings user file is created | | +| settings-user-extras ​          ​| Fired on the settings page, before ​//Save Settings// in the user section ​        ​          ​|  
-| settings-user-extras | Fired on the settings page, before ​"Save Settings" button ​in the user section | | +| settings-website ​              ​| Fired before the settings website page is created ​                                         ​|  
-| settings-website | Fired before the settings website page is created | | +| settings-website-extras ​       | Fired on the settings page, before ​//Save Settings// in the website section ​               ​|  
-| settings-website-extras | Fired on the settings page, before ​"Save Settings" button ​in the website section | | +<del>sitemap-additem</​del> ​    | Allow insertion of a new sitemap XML entry                                       ​-3.1      |  
-| sitemap-additem | Allow insertion of a new sitemap XML entry | | +| sitemap-saved ​                 | Called after the sitemap is successfully saved                                   | 3.3+      ​|  
-| successful-login-end |  | | +| successful-login-end ​          ​                                                                                           ​|  
-| successful-login-start |  | | +| successful-login-start ​        ​                                                                                           ​|  
-| support-extras | Allows additional support setting form entries | | +| support-extras ​                ​| Allows additional support setting form entries ​                                  ​          ​|  
-| support-save | Fired before cp_settings.xml file is created, allows additional support-extras to be saved | +<del>support-save</​del> ​       ​| Fired before ​''​cp_settings.xml'' ​file is created ​                                | -3.0      ​|  
-| theme-edit-extras | Fired in the theme edit screen before the submit button | | +| theme-edit-extras ​             | Fired in the theme edit screen before the submit button ​                                   ​|  
-| theme-extras | Fired after the theme screenshot | | +| theme-extras ​                  ​| Fired after the theme screenshot ​                                                ​          ​|  
-| welcome-doc-link | Allows additional documentation links on the Welcome page | | +| welcome-doc-link ​              ​| Allows additional documentation links on the Welcome page                                  ​|  
-| welcome-link | Allows additional links on the Welcome page | |+| welcome-link ​                  ​| Allows additional links on the Welcome page                                                ​ 
 + 
 +== Back-End GUI == 
 +^ Hook ID          ^ Description ​                  ^ Support ^ 
 +| backups-sidebar ​ | Sidebar item on Backups Page  |         | 
 +| files-sidebar ​   | Sidebar item on Files Page    |         | 
 +| pages-sidebar ​   | Sidebar item on Pages Page    |         | 
 +| plugins-sidebar ​ | Sidebar item on Plugins Page  |         | 
 +| settings-sidebar | Sidebar item on Settings Page |         | 
 +| support-sidebar ​ | Sidebar item on Support Page  |         | 
 +| theme-sidebar ​   | Sidebar item on Theme Page    |         | 
 +| nav-tab ​         | Insert navigation bar tab     ​| ​        | 
 + 
 +== Filters == 
 +^ Filter ID     ^ Description ​                                          ^ Support ^ 
 +|content ​       |filters page content data                              |         | 
 +|menuitems ​     |filters the menu html returned in ''​get_navigation()''​ |         | 
 +|**pagecache** ​ |filters ''​$pagesarray''​ data before saving ​            | 3.3+    | 
 +|**sitemap** ​   |filters the ''​$sitemap''​ xmlobj before saving ​         | 3.3+    | 
shawn_a_playground.1383141510.txt.gz · Last modified: 2013/10/30 13:58 by shawn_a