Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Updated ninja_forms_output_tab_metabox to pass the setting array to custom display function. #209

Merged
merged 1 commit into from

2 participants

Elliot Lings Kevin Stover
Elliot Lings

It would be helpful if the setting array inside the ninja_forms_output_tab_metabox settings loop was passed to the custom display function.

Kevin Stover kstover merged commit de84d0c into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Mar 27, 2014
  1. Elliot Lings
This page is out of date. Refresh to see the latest.
Showing with 1 addition and 0 deletions.
  1. +1 −0  includes/admin/output-tab-metabox.php
1  includes/admin/output-tab-metabox.php
View
@@ -389,6 +389,7 @@ function ninja_forms_output_tab_metabox($form_id = '', $slug, $metabox){
if( $s_display_function != '' ){
$arguments['form_id'] = $form_id;
$arguments['data'] = $current_settings;
+ $arguments['field'] = $s;
call_user_func_array( $s_display_function, $arguments );
}
}
Something went wrong with that request. Please try again.