Jump to content
Sign in to follow this  
arretx

Where's a list of ALL of the hooks?

Recommended Posts

arretx

I know that you can view a template section's hooks in the Settings section of Pagelines, but the content section refers to the "template" to view additional hooks. I'm having trouble figuring out how to hook something right after a post title, which leads me to search for a list of every hook that exists in Pagelines Pro. Anyone have that information?

Share this post


Link to post
Share on other sites
apshai
Sorry if this is a really stupid question... I've attempted to access the above link, by registering and verifying my email, but I get the following error: "TICKET_VIEW privileges are required to perform this operation on Ticket #1" I would simply like to view a list of all the hooks. Thank you.

Share this post


Link to post
Share on other sites
Simon
[code] Current list of filters and actions footer.php: 30 : pagelines_after_footer includes/core.init.php: 137 : pagelines_setup includes/core.init.php: 207 : pagelines_hook_init includes/config.templates.php: 71 : pagelines_register_sections includes/library.templates.php: 86 : pagelines_code_before_head sidebar.php: 12 : pagelines_before_sidebar_wrap sidebar.php: 48 : pagelines_after_sidebar_wrap sections/section.soapbox.php: 253 : pagelines_soapbox_links sections/section.soapbox.php: 258 : pagelines_soapbox_inside_bottom sections/section.twitterbar.php: 40 : pagelines_before_twitterbar_text sections/brandnav/section.brandnav.php: 35 : brandnav_after_brand sections/brandnav/section.brandnav.php: 46 : brandnav_after_nav sections/features/section.features.php: 368 : pagelines_feature_before sections/features/section.features.php: 371 : pagelines_fcontent_before sections/features/section.features.php: 376 : pagelines_feature_text_top sections/features/section.features.php: 390 : pagelines_feature_text_bottom sections/features/section.features.php: 393 : pagelines_fcontent_after sections/features/section.features.php: 400 : pagelines_feature_media_top sections/features/section.features.php: 411 : pagelines_feature_after sections/features/section.features.php: 427 : pagelines_feature_nav_before sections/boxes/section.boxes.php: 222 : pagelines_box_inside_bottom sections/wp/section.postnav.php:33: pagelines_section_before_postnav sections/wp/section.postnav.php:38: pagelines_section_after_postnav header.php: 12 : pagelines_before_html header.php: 18 : pagelines_head header.php: 27 : pagelines_before_site header.php: 30 : pagelines_before_page header.php: 33 : pagelines_before_header header.php: 39 : pagelines_before_main template.branding.php: 4 : pagelines_before_branding_icons template.branding.php: 13 : pagelines_branding_icons_start template.branding.php: 26 : pagelines_branding_icons_end template.branding.php: 31 : pagelines_after_branding_wrap template.postloop.php: 34 : pagelines_loop_post_start template.postloop.php: 38 : pagelines_loop_page_title_after template.postloop.php: 59 : pagelines_loop_post_header_start template.postloop.php: 80 : pagelines_before_excerpt template.postloop.php: 84 : pagelines_after_excerpt template.postloop.php: 92 : pagelines_loop_before_post_content template.postloop.php: 106 : pagelines_loop_after_post_content template.postloop.php: 114 : pagelines_loop_post_end template.postloop.php: 125 : pagelines_loop_clipbox_start template.postloop.php: 130 : pagelines_loop_clip_start template.postloop.php: 151 : pagelines_loop_clip_excerpt_end template.postloop.php: 155 : pagelines_loop_clip_end template.postloop.php: 158 : pagelines_loop_clipbox_end template.content.php: 4 : pagelines_content_before_columns template.content.php: 7 : pagelines_content_before_maincolumn template.content.php: 15 : pagelines_content_before_sidebar1 template.content.php: 21 : pagelines_content_after_sidebar1 FILTERS (Advanced Users) These require add_filter( 'filtername', 'custom_function' ); Please read the docs on filters and check the files to see what variables the filters are passing. includes/core.globals.php:48: pagelines_settings_field includes/core.globals.php:49: pagelines_layout_settings_field includes/core.globals.php:50: pagelines_section_settings_field includes/library.shortcodes.php:29: pagelines_post_date_shortcode includes/library.shortcodes.php:52: pagelines_post_time_shortcode includes/library.shortcodes.php:73: pagelines_post_author_shortcode includes/library.shortcodes.php:105: pagelines_post_author_link_shortcode includes/library.shortcodes.php:131: pagelines_post_author_shortcode includes/library.shortcodes.php:166: pagelines_post_comments_shortcode includes/library.shortcodes.php:192: pagelines_post_tags_shortcode includes/library.shortcodes.php:216: pagelines_post_categories_shortcode includes/library.shortcodes.php:243: pagelines_post_edit_shortcode includes/library.functions.php:156: pagelines_shorturl_provider includes/library.functions.php:172: pagelines_shorturl_cachetimeout includes/library.functions.php:478: the_content includes/library.functions.php:486: excerpt_length includes/library.functions.php:487: excerpt_more includes/library.functions.php:497: wp_trim_excerpt includes/class.typography.php:416: pagelines_foundry includes/library.options.php:47: pagelines_settings_whitelist includes/library.options.php:202: pagelines_settings_defaults includes/class.actions.php:79: pagelines_hooks includes/class.actions.php:239: pagelines_hooks includes/config.templates.php:147: pagelines_template_map includes/config.templates.php:197: pagelines_page_template_array includes/config.templates.php:218: pagelines_content_template_array includes/config.templates.php:280: pagelines_default_features includes/config.templates.php:303: pagelines_default_boxes includes/config.templates.php:307: pagelines_default_banners includes/config.templates.php:344: pagelines_theme_intro includes/config.options.php:929: pagelines_custom_options includes/config.options.php:948: pagelines_options_array includes/library.templates.php:104: pagelines_xfn includes/library.templates.php:169: pagelines_meta_title includes/library.templates.php:327: pagelines_site_logo includes/library.templates.php:333: pagelines_site_title includes/library.templates.php:379: pagelines_post_metabar includes/library.templates.php:395: pagelines_post_title_text includes/library.templates.php:399: pagelines_post_title_text includes/library.templates.php:403: pagelines_post_title_text includes/library.templates.php:406: pagelines_post_title_output includes/library.templates.php:423: continue_reading_link_text includes/library.templates.php:427: continue_reading_link includes/library.templates.php:463: pagelines_leaf_image includes/library.templates.php:471: no_leaf_link includes/library.templates.php:475: pagelines_leaf admin/actions.options.php:293: pagelines_admin_confirms admin/actions.options.php:334: pagelines_admin_notifications sections/section.banners.php:225: pl_banner_image sections/wp/section.sharebar.php:43: pagelines_before_sharebar sections/wp/section.sharebar.php:74: pagelines_after_sharebar sections/features/section.features.php:205: pagelines_feature_autostop sections/features/section.features.php:379: pagelines_feature_output sections/boxes/section.boxes.php:272: pl_box_image template.branding.php:9: pagelines_branding_rssurl admin/actions.options.php:156: pagelines_meta_blacklist admin/class.options.metapanel.php:29: pagelines_meta_blacklist includes/core.init.php:147: pagelines_post-thumbnails [/code] Sorry trac has been locked down for beta testing.

Share this post


Link to post
Share on other sites
umitgokce
I think it should be in documentation as list of all available filters. And extended info for developers about creation different templates.

Share this post


Link to post
Share on other sites
Danny
Thanks for the suggestion Unitgokce.

Please search our forums, before posting!

Share this post


Link to post
Share on other sites
johnny_n
+1 and thanks for the list -- very helpful! Beg borrow or steal access to diythemes site and see how they did the hooks/filters list with Thesis... it's very, very clear and helpful. btw, I think there's another list in another thread that appears to be outdated now...

Share this post


Link to post
Share on other sites
tranceandy
You can also install the Action Map plugin and turn it on by clicking the ActionMap toggle on the Admin Bar when viewing your site. http://www.pagelines.com/store/plugins/pagelines-action-map/

Share this post


Link to post
Share on other sites
Simon
http://api.pagelines.com/hooks

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×