rwmb_field_class

rwmb_field_class

Hook Type: filter

See hook in core

Displaying hooks found in version: wp-stateless.4.0.3

apply_filters('rwmb_field_class') is found 1 times:

  • /vendor/wpmetabox/meta-box/inc/helpers/field.php line 25
     
    	public static function get_class( $field ) : string {
    		$type  = self::get_type( $field );
    		$class = 'RWMB_' . RWMB_Helpers_String::title_case( $type ) . '_Field';
    		$class = apply_filters( 'rwmb_field_class', $class, $type );
    		return class_exists( $class ) ? $class : 'RWMB_Input_Field';
    	}
    
    	private static function get_type( $field ) : string {
    		$type = $field['type'] ?? 'text';
    		$map  = array_merge(