rwmb_field_class
rwmb_field_class
Appears in: wp-stateless.3.3.0, wp-stateless.3.4.0, wp-stateless.3.4.1, wp-stateless.4.0.3, wp-stateless.4.0.4, wp-stateless.4.1.1, wp-stateless.4.1.2
Hook Type: filter
Displaying hooks found in version: wp-stateless.4.1.2apply_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(