AnsPress_Email_Hooks::value( string $name )

Description #

Sanitize form value

Parameters #

  • $name
    string (Required) Field value.

Source #

File: addons/free/email.php

	public static function value($name) {
		$settings = ap_opt();
		if ( isset( $settings[ $name ] ) ) {
			return str_replace( '//', '', $settings[ $name ] );
		}

		return '';
	}

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