wpcf7_is_number
The Contact Form 7 wpcf7 is number function.
Description
wpcf7_is_number( (number) $number );
Parameters (1)
- 0. $number (number)
- The number.
Usage
if ( !function_exists( 'wpcf7_is_number' ) ) { require_once ABSPATH . PLUGINDIR . 'contact-form-7/includes/formatting.php'; } // The number. $number = null; // NOTICE! Understand what this does before running. $result = wpcf7_is_number($number);
Defined (1)
The function is defined in the following location(s).
- /includes/formatting.php
- function wpcf7_is_number( $number ) {
- $result = is_numeric( $number );
- return apply_filters( 'wpcf7_is_number', $result, $number );
- }