| @@ -31,8 +31,13 @@ | ||
| 31 | 31 | 'frm_fields_in_entries_list_table', |
| 32 | 32 | function ( $form_cols ) { |
| 33 | 33 | return array_filter( |
| 34 | 34 | $form_cols, |
| 35 | + /** | |
| 36 | + * @param stdClass $form_col | |
| 37 | + * | |
| 38 | + * @return bool | |
| 39 | + */ | |
| 35 | 40 | function ( $form_col ) { |
| 36 | 41 | return 'gateway' !== $form_col->type; |
| 37 | 42 | } |
| 38 | 43 | ); |
| @@ -58,9 +63,8 @@ | ||
| 58 | 63 | |
| 59 | 64 | // Actions. |
| 60 | 65 | add_action( 'frm_after_uninstall', 'FrmStrpLiteAppController::uninstall' ); |
| 61 | 66 | add_filter( 'frm_add_settings_section', 'FrmStrpLiteSettingsController::add_settings_section' ); |
| 62 | - add_action( 'admin_init', 'FrmStrpLiteAppController::maybe_redirect_to_stripe_settings' ); | |
| 63 | 67 | add_action( 'frm_update_settings', 'FrmStrpLiteSettingsController::process_form' ); |
| 64 | 68 | |
| 65 | 69 | // Filters. |
| 66 | 70 | add_filter( 'frm_pay_action_defaults', 'FrmStrpLiteActionsController::add_action_defaults' ); |