Add fields filter for Elementor checkout widget

Please add a filter for widget custom fields, like for custom messages.

In sellkit/includes/elementor/modules/checkout/fields/base.php:66 add,

// Filter label to adjust custom text.

//$label = $args['label'];

$label = eschtml( applyfilters( 'sellkit_core/widgets/checkout/field/label', $args['label'], $args ) );

And on line 196,

// Filter label to adjust custom text.

//$placeholder = ( arraykeyexists( 'label', $args ) )

// ? $args['label']

// : '';

$placeholder = ( arraykeyexists( 'label', $args ) )

? esc_html( apply_filters( 'sellkit_core/widgets/checkout/field/label', $args['label'], $args ) ): '';

Please authenticate to join the conversation.

Upvoters
Status

In Review

Board
πŸ’‘

Feature Request

Date

Over 1 year ago

Author

Ruth Bouratinos

Subscribe to post

Get notified by email when there are changes.