AnsPress_Bad_words::options()
Description #
Register Categories options
Source #
File: addons/free/bad-words.php
public static function options() { ap_register_option_section( 'addons', basename( __FILE__ ) , __( 'Bad Words', 'anspress-question-answer' ), [ array( 'name' => 'bad_words', 'label' => __( 'Add comma separted bad words', 'anspress-question-answer' ), 'desc' => __( 'Enter words separted by comma. This option can be overriden by placing a <small>badwords.txt</small> in AnsPress override folder. While using bad word from file, add one word per line rather then comma separted.' ), 'type' => 'textarea', ), ]); }
Expand full source code Collapse full source code View on GitHub: addons/free/bad-words.php:74
Add your comment