content-no-access-before.php 463 Bytes
Newer Older
cyrille's avatar
cyrille committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<?php
/**
 * Template displayed before the main content on a restricted page
 *
 * @package LifterLMS/Templates
 *
 * @since 1.0.0
 * @since 4.17.0 Removed redundant notice output call and replaced duplicated hook with a new hook.
 * @version 4.17.0
 */

defined( 'ABSPATH' ) || exit;

llms_print_notices();

/**
 * Action triggered before the main content of a restricted page is rendered
 *
 * @since 4.17.0
 */
do_action( 'lifterlms_no_access_main_content' );