'wpbc_admin_cost_correction', 'resource_id' => 0, 'wrapper_class' => '', 'label_class' => '', 'control_class' => '', 'input_class' => 'inspector__input', 'help_class' => 'description', 'label' => __( 'Cost correction', 'booking' ), 'placeholder' => __( 'Calculated cost', 'booking' ), 'suffix' => __( 'total', 'booking' ), 'help' => __( 'Leave the number empty to use the calculated cost. Enter an exact total to replace the final cost.', 'booking' ), ) ); $input_id = sanitize_key( $args['input_id'] ); $resource_id = absint( $args['resource_id'] ); $currency_symbol = $resource_id > 0 && function_exists( 'wpbc_get_currency_symbol_for_user' ) ? wpbc_get_currency_symbol_for_user( $resource_id ) : ( function_exists( 'wpbc_get_currency_symbol' ) ? wpbc_get_currency_symbol() : '' ); $currency_symbol = html_entity_decode( wp_strip_all_tags( (string) $currency_symbol ), ENT_QUOTES, get_bloginfo( 'charset' ) ); ?>