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',
			),
		]);
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment