| 1 |
<?php |
| 2 |
if ( ! defined( 'ABSPATH' ) ) { |
| 3 |
die( 'You are not allowed to call this page directly.' ); |
| 4 |
} |
| 5 |
|
| 6 |
class FrmFormActionsHelper { |
| 7 |
|
| 8 |
/** |
| 9 |
* @deprecated 2.0.9 This is still referenced in our docs as of May 8, 2024. |
| 10 |
* @since 6.1.3 - Uncommented the deprecated message. |
| 11 |
*/ |
| 12 |
public static function get_action_for_form( $form_id, $type = 'all', $limit = 99 ) { |
| 13 |
_deprecated_function( __FUNCTION__, '2.0.9', 'FrmFormAction::get_action_for_form' ); |
| 14 |
return FrmFormAction::get_action_for_form( $form_id, $type, $limit ); |
| 15 |
} |
| 16 |
|
| 17 |
/** |
| 18 |
* @deprecated 2.0.9 |
| 19 |
* @since 6.1.3 - Uncommented the deprecated message. |
| 20 |
*/ |
| 21 |
public static function default_action_opts( $class = '' ) { |
| 22 |
_deprecated_function( __FUNCTION__, '2.0.9', 'FrmFormAction::default_action_opts' ); |
| 23 |
return FrmFormAction::default_action_opts( $class ); |
| 24 |
} |
| 25 |
} |
| 26 |
|