INVP::meta_value_is_number( string $post_meta_key )

meta_value_is_number


Description Description

Indicates whether or not a provided $post_meta_key is a number data type.


Top ↑

Parameters Parameters

$post_meta_key

(string) (Required)


Top ↑

Return Return

(bool) True if the given $post_meta_key is a number data type.


Top ↑

Source Source

File: includes/class-invp.php

			if( apply_filters( 'invp_prefix_meta_key', $key_and_type['name'] ) == $post_meta_key )
			{
				return 'number' == $key_and_type['type'] || 'integer' == $key_and_type['type'];
			}
		}
		return false;
	}
	
	/**
	 * prepare_phone_number_for_link
	 *