Commit 83ac637e authored by Srdjan Jocić's avatar Srdjan Jocić

Renamed filter 'ninja_forms_render_options_merge_tags' to 'ninja_forms_localize_list_labels'

parent 905f9628
Pipeline #2831 passed with stages
in 5 minutes and 49 seconds
......@@ -248,7 +248,7 @@ final class NF_MergeTags_Fields extends NF_Abstracts_MergeTags
// Loop over our options...
$field[ 'options' ] = apply_filters( 'ninja_forms_render_options', $field[ 'options' ], $field );
$field[ 'options' ] = apply_filters( 'ninja_forms_render_options_' . $field['type'], $field[ 'options' ], $field );
$field[ 'options' ] = apply_filters( 'ninja_forms_render_options_merge_tags', $field[ 'options' ], $field, $this->form_id );
$field[ 'options' ] = apply_filters( 'ninja_forms_localize_list_labels', $field[ 'options' ], $field, $this->form_id );
foreach( $field[ 'options' ] as $options ) {
// ...checks to see if our list has multiple values.
if( is_array( $field[ 'value' ] ) ) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment