PluginProbe
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More / trunk
Formidable Forms – WordPress Form Builder for Contact Forms, Calculators, Quizzes & More vtrunk
6.35 6.34 6.33.1 6.33 6.32.1 6.32 6.31 6.25 6.25.1 6.26 6.26.1 6.27 6.28 6.29 6.3 6.3.1 6.3.2 6.30 6.4 6.4.1 6.4.2 6.5 6.5.1 6.5.2 6.5.3 All 141 releases
← All changes | classes/controllers/FrmFormActionsController.php +3 -1 6.32 → trunk View file →
@@ -54,8 +54,9 @@
54 54 public static function register_actions() {
55 55 $action_classes = array(
56 56 'on_submit' => 'FrmOnSubmitAction',
57 57 'email' => 'FrmEmailAction',
58 + 'gated_content' => 'FrmGatedContentAction',
58 59 'wppost' => 'FrmDefPostAction',
59 60 'register' => 'FrmDefRegAction',
60 61 'stripe' => 'FrmStripeLiteAction',
61 62 'square' => 'FrmSquareAction',
@@ -133,8 +134,9 @@
133 134 'mailpoet' => __( 'Plugin automation', 'formidable' ),
134 135 'api' => __( 'System integration', 'formidable' ),
135 136 'googlespreadsheet' => __( 'Spreadsheet sync', 'formidable' ),
136 137 'convertkit' => __( 'Broadcast publishing', 'formidable' ),
138 + 'gated_content' => __( 'Access control', 'formidable' ),
137 139 );
138 140
139 141 foreach ( self::$registered_actions->actions as $action ) {
140 142 if ( $action->action_options['description'] === '' && isset( $descriptions[ $action->id_base ] ) ) {
@@ -1125,9 +1127,9 @@
1125 1127 *
1126 1128 * @return string[]
1127 1129 */
1128 1130 public static function get_lite_actions() {
1129 - return apply_filters( 'frm_lite_form_actions', array( 'on_submit', 'email', 'payment', 'stripe', 'square', 'paypal' ) );
1131 + return apply_filters( 'frm_lite_form_actions', array( 'on_submit', 'email', 'payment', 'stripe', 'square', 'paypal', 'gated_content' ) );
1130 1132 }
1131 1133
1132 1134 /**
1133 1135 * Single source of truth for learn-more URL slugs used in