Deprecated

This method has been deprecated.

AnsPress_Tag::ap_ask_fields_validation( array $args )

Description #

Add tag in validation field.

Parameters #

  • $args
    array (Required) Form arguments.

Changelog #

VersionDescription
4.1.2Introduced.

Source #

File: addons/free/tag.php

	public static function ap_ask_fields_validation( $args ) {
		$args['tags'] = array(
			'sanitize' => array( 'sanitize_tags' ),
			'validate' => array( 'comma_separted_count' => ap_opt( 'min_tags' ) ),
		);

		return $args;
	}

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