Skip to content

Commit

Permalink
Updating headers to match proper standards
Browse files Browse the repository at this point in the history
  • Loading branch information
kimcoleman committed Nov 10, 2023
1 parent 9ca2383 commit 5a923fc
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions lifterlms-private-areas/llms_pa_html_discussion-alt.php
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' );

0 comments on commit 5a923fc

Please sign in to comment.