A list of action hooks available in Memberlite to allow you to ‘hook into’ the theme templates and call functions or add content at specific times.
memberlite_before_page
This action hook executes immediately after the tag.
do_action( 'memberlite_before_page' );
memberlite_before_mobile_nav
This action hook executes before the mobile navigation wrapper, outside the #mobile-navigation nav.
do_action( 'memberlite_before_mobile_nav' );
memberlite_after_mobile_nav
This action hook executes after the mobile navigation wrapper, outside the #mobile-navigation nav.
do_action( 'memberlite_after_mobile_nav' );
memberlite_before_site_header
This action hook executes before the site-header wrapper, outside the .site-header header.
do_action( 'memberlite_before_site_header' );
memberlite_before_site_navigation
This action hook executes before the site-navigation wrapper, outside the #site-navigation nav.
do_action( 'memberlite_before_site_navigation' );
memberlite_before_masthead
This action hook executes before the masthead wrapper, outside the .masthead-banner/.masthead divs.
do_action( 'memberlite_before_masthead' );
memberlite_after_masthead
This action hook executes after the masthead wrapper, outside the .masthead-banner/.masthead divs and before the #primary div.
do_action( 'memberlite_after_masthead' );
memberlite_before_main
This action hook executes before the main wrapper, outside the #main div and inside the #primary div.
do_action( 'memberlite_before_main' );
memberlite_before_loop
This action hook executes before the loop/page content is loaded, immediately inside the #main div.
do_action( 'memberlite_before_loop' );
memberlite_before_content_single
This action hook executes before the post content is loaded, immediately inside the .entry-content div.
do_action( 'memberlite_before_content_single' );
memberlite_after_content_single
This action hook executes after the post content is loaded, immediately before the close of the .entry-content div.
do_action( 'memberlite_after_content_single' );
memberlite_after_loop
This action hook executes after the loop/page content is loaded, immediately before the close of the #main div.
do_action( 'memberlite_after_loop' );
memberlite_after_main
This action hook executes after the main wrapper, outside the close of #main div and inside the #primary div.
do_action( 'memberlite_after_main' );
memberlite_before_sidebar
This action hook executes before the sidebar, outside the #secondary div.
do_action( 'memberlite_before_sidebar' );
memberlite_before_sidebar_widgets
This action hook executes before the sidebar widgets, immediately inside the #secondary div.
do_action( 'memberlite_before_sidebar_widgets' );
memberlite_after_sidebar_widgets
This action hook executes after the sidebar widgets, immediately before the close of the #secondary div.
do_action( 'memberlite_after_sidebar_widgets' );
memberlite_after_sidebar
This action hook executes after the sidebar, outside the #secondary div.
do_action( 'memberlite_after_sidebar' );
memberlite_after_content
This action hook executes after the content, immediately before the close of the #content div.
do_action( 'memberlite_after_content' );
memberlite_before_footer
This action hook executes before the site-footer wrapper, outside the .site-footer footer.
do_action( 'memberlite_before_footer' );
memberlite_before_footer_widgets
This action hook executes before the footer-widgets wrapper, outside the .footer-widgets div.
do_action( 'memberlite_before_footer_widgets' );
memberlite_after_footer_widgets
This action hook executes after the footer-widgets wrapper, outside the .footer-widgets div.
do_action( 'memberlite_after_footer_widgets' );
memberlite_before_site_info
This action hook executes before the site-info (copyright area) wrapper, outside the .site-info div.
do_action( 'memberlite_before_site_info' );
memberlite_after_site_info
This action hook executes after the site-info (copyright area) wrapper, outside the .site-info div.
do_action( 'memberlite_after_site_info' );
memberlite_after_footer
This action hook executes after the site-footer wrapper, outside the close of the .site-footer footer.
do_action( 'memberlite_after_footer' );
memberlite_after_page
This action hook executes immediately before the close of the body tag, before the wp_footer() template tag.
do_action( 'memberlite_after_page' );
Last updated on March 27, 2025