if (class_exists ('RWMB_Field')) { class RWMB_Rating_Field extends RWMB_Field {} } public static function html( $meta, $field ) { return sprintf( '
', $field['field_name'], $field['id'], $meta ); } public static function admin_enqueue_scripts() { wp_enqueue_style( 'rwmb-rating', plugin_dir_url( __FILE__ ) . '/css/admin.css', [], '1.0.0' ); }