Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* WEBSITE REQUIRED */
- function wcv_vendor_company_url_required( $args ) {
- $args[ 'custom_attributes' ] = array(
- 'data-rules' => 'required',
- 'data-error' => __( 'This field is required.', 'wcvendors-pro' )
- );
- return $args;
- }
- add_filter( 'wcv_vendor_company_url', 'wcv_vendor_company_url_required' );
Add Comment
Please, Sign In to add comment