-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1539 from gocodebox/content-filter-conditions
content filtering conditions WIP
- Loading branch information
Showing
8 changed files
with
578 additions
and
81 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,19 @@ | ||
<?php | ||
/** | ||
* The Template for displaying all single courses. | ||
* Template displayed after content on a restricted page | ||
* | ||
* @author codeBOX | ||
* @package lifterLMS/Templates | ||
* @package LifterLMS/Templates | ||
* | ||
* @since 1.0.0 | ||
* @since [version] Removed redundant notice output call and replaced duplicated hook with a new hook. | ||
* @version [version] | ||
*/ | ||
|
||
defined( 'ABSPATH' ) || exit; | ||
|
||
global $post; | ||
llms_print_notices(); | ||
|
||
?> | ||
<?php | ||
do_action( 'lifterlms_no_access_main_content' ); | ||
/** | ||
* Action triggered after the main content of a restricted page is rendered | ||
* | ||
* @since [version] | ||
*/ | ||
do_action( 'lifterlms_no_access_after' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,21 @@ | ||
<?php | ||
/** | ||
* The Template for displaying all single courses. | ||
* Template displayed before the main content on a restricted page | ||
* | ||
* @author codeBOX | ||
* @package lifterLMS/Templates | ||
* @package LifterLMS/Templates | ||
* | ||
* @since 1.0.0 | ||
* @since [version] Removed redundant notice output call and replaced duplicated hook with a new hook. | ||
* @version [version] | ||
*/ | ||
|
||
defined( 'ABSPATH' ) || exit; | ||
|
||
global $post; | ||
llms_print_notices(); | ||
|
||
?> | ||
<?php | ||
/** | ||
* Action triggered before the main content of a restricted page is rendered | ||
* | ||
* @since [version] | ||
*/ | ||
do_action( 'lifterlms_no_access_main_content' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.