| 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 |
* @param int|string $form_id |
| 13 |
* @param string $type |
| 14 |
* @param int $limit |
| 15 |
* |
| 16 |
* @return array |
| 17 |
*/ |
| 18 |
public static function get_action_for_form( $form_id, $type = 'all', $limit = 99 ) { |
| 19 |
_deprecated_function( __FUNCTION__, '2.0.9', 'FrmFormAction::get_action_for_form' ); |
| 20 |
return FrmFormAction::get_action_for_form( $form_id, $type, $limit ); |
| 21 |
} |
| 22 |
} |
| 23 |
|