-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating headers to match proper standards
- Loading branch information
1 parent
9ca2383
commit 5a923fc
Showing
1 changed file
with
9 additions
and
9 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,18 @@ | ||
<?php // Don't copy this line! | ||
<?php | ||
/** | ||
* LifterLMS Private Areas filter examples: https://lifterlms.com/docs/private-areas-filters/ | ||
* Customize the Privaate Areas commenting to allow HTML quicktags for admins only. | ||
* | ||
* @since 2017-08-11 | ||
*/ | ||
/** | ||
* customize PA commenting to Allow HTML quicktags for admins only | ||
* @param boolean $bool default HTML status (true) | ||
* @return boolean | ||
* Learn more at: https://lifterlms.com/docs/private-areas-filters/ | ||
* | ||
* You can add this recipe to your site by creating a custom plugin | ||
* or using the Code Snippets plugin available for free in the WordPress repository. | ||
* Read this companion documentation for step-by-step directions on either method. | ||
* https://lifterlms.com/docs/adding-custom-code/ | ||
*/ | ||
function my_llms_pa_html_discussion( $bool ) { | ||
if ( ! is_admin() ) { | ||
return false; | ||
} | ||
return $bool; | ||
} | ||
add_filter( 'llms_pa_html_discussion', 'my_llms_pa_html_discussion' ); | ||
add_filter( 'llms_pa_html_discussion', 'my_llms_pa_html_discussion' ); |