File tree Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Expand file tree Collapse file tree 1 file changed +9
-9
lines changed Original file line number Diff line number Diff line change 1
- <?php // Don't copy this line!
1
+ <?php
2
2
/**
3
- * LifterLMS Private Areas filter examples: https://lifterlms.com/docs/private-areas-filters/
3
+ * Customize the Privaate Areas commenting to allow HTML quicktags for admins only.
4
4
*
5
- * @since 2017-08-11
6
- */
7
- /**
8
- * customize PA commenting to Allow HTML quicktags for admins only
9
- * @param boolean $bool default HTML status (true)
10
- * @return boolean
5
+ * Learn more at: https://lifterlms.com/docs/private-areas-filters/
6
+ *
7
+ * You can add this recipe to your site by creating a custom plugin
8
+ * or using the Code Snippets plugin available for free in the WordPress repository.
9
+ * Read this companion documentation for step-by-step directions on either method.
10
+ * https://lifterlms.com/docs/adding-custom-code/
11
11
*/
12
12
function my_llms_pa_html_discussion ( $ bool ) {
13
13
if ( ! is_admin () ) {
14
14
return false ;
15
15
}
16
16
return $ bool ;
17
17
}
18
- add_filter ( 'llms_pa_html_discussion ' , 'my_llms_pa_html_discussion ' );
18
+ add_filter ( 'llms_pa_html_discussion ' , 'my_llms_pa_html_discussion ' );
You can’t perform that action at this time.
0 commit comments