We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
I tried this in text sample field
// Field: Text. $wposa_obj->add_field( 'wposa_basic', array( 'id' => 'text', 'type' => 'text', 'name' => __( 'IT24 Text', 'WPOSA' ), 'desc' => __( 'Text input description', 'WPOSA' ), 'default' => 'Default Text', 'sanitize_callback' => 'it24_sanitize', ) );
In Class field I put function like this
/** * Satinilize Callback */ function it24_sanitize($input) { return 'IT24'; }
But it did not work!
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
I tried this in text sample field
// Field: Text. $wposa_obj->add_field( 'wposa_basic', array( 'id' => 'text', 'type' => 'text', 'name' => __( 'IT24 Text', 'WPOSA' ), 'desc' => __( 'Text input description', 'WPOSA' ), 'default' => 'Default Text', 'sanitize_callback' => 'it24_sanitize', ) );
In Class field I put function like this
/** * Satinilize Callback */ function it24_sanitize($input) { return 'IT24'; }
But it did not work!
The text was updated successfully, but these errors were encountered: