'javascript:void(0)', 'class' => 'frm_single_action frm_inactive_action frm_show_upgrade button frm-button-secondary frm-button-sm frm-with-icon frm-ml-auto-force frm-fadein-down-short', ); ?>

  • $group ) { ?>
'actions', 'placeholder' => __( 'Search Actions', 'formidable' ), 'tosearch' => 'frm-action', 'class' => 'frm-ml-auto-force', ) ); ?>
$group ) { // Handle my_actions group with sections if ( 'my_actions' === $group_key && isset( $group['sections'] ) ) { ?>
$section ) { // Skip section if it has no actions if ( empty( $section['actions'] ) ) { continue; } ?>

'--primary-700:' . $group['color'] ) : array(); ?>
    id_base, $section['actions'], true ) ) { continue; } FrmFormActionsController::show_action_icon_link( $action_control, $allowed ); } // Build array of installed action IDs to skip in second loop $installed_action_ids = array(); foreach ( $action_controls as $action_control ) { $installed_action_ids[] = $action_control->id_base; } foreach ( $section['actions'] as $action ) { // Skip if action is already installed (shown in first loop) if ( in_array( $action, $installed_action_ids, true ) ) { continue; } $icon_atts = array(); if ( isset( $group['color'] ) ) { $icon_atts = array( 'style' => '--primary-700:' . $group['color'], ); } $action_icon = $group['icon'] ?? 'frmfont frm_plus_icon'; $single_action_attrs['data-upgrade'] = sprintf( /* translators: %s: Name of form action */ __( '%s form actions', 'formidable' ), $action ); $single_action_attrs['data-medium'] = 'settings-' . $action; $single_action_attrs['data-actiontype'] = $action; // Set limit for payment actions only if not installed if ( in_array( $action, array( 'paypal', 'stripe', 'square' ), true ) ) { // Check if this action is already installed $action_is_installed = false; foreach ( $action_controls as $action_control ) { if ( $action_control->id_base === $action ) { $action_is_installed = true; break; } } // Only set limit if action is not installed if ( ! $action_is_installed ) { $single_action_attrs['data-limit'] = 1; } } ?>
  • __( 'Lock icon', 'formidable' ) ) ); ?>

    >
>

'--primary-700:' . $group['color'] ) : array(); ?>
    id_base, $group['actions'], true ) ) { continue; } FrmFormActionsController::show_action_icon_link( $action_control, $allowed ); } // Build array of installed action IDs to skip in second loop $installed_action_ids = array(); foreach ( $action_controls as $action_control ) { $installed_action_ids[] = $action_control->id_base; } foreach ( $group['actions'] as $action ) { // Skip if action is already installed (shown in first loop) if ( in_array( $action, $installed_action_ids, true ) ) { continue; } $icon_atts = array(); if ( isset( $group['color'] ) ) { $icon_atts = array( 'style' => '--primary-700:' . $group['color'], ); } $action_icon = $group['icon'] ?? 'frmfont frm_plus_icon'; $single_action_attrs['data-upgrade'] = sprintf( /* translators: %s: Name of form action */ __( '%s form actions', 'formidable' ), $action ); $single_action_attrs['data-medium'] = 'settings-' . $action; $single_action_attrs['data-actiontype'] = $action; // Set limit for payment actions only if not installed if ( in_array( $action, array( 'paypal', 'stripe', 'square' ), true ) ) { // Check if this action is already installed $action_is_installed = false; foreach ( $action_controls as $action_control ) { if ( $action_control->id_base === $action ) { $action_is_installed = true; break; } } // Only set limit if action is not installed if ( ! $action_is_installed ) { $single_action_attrs['data-limit'] = 1; } } ?>
  • __( 'Lock icon', 'formidable' ) ) ); ?>

    >