Hello, I'm attempting to use Formidable's API hooks to add custom functionality. Alot of the hooks I try to use never fire. Can you let me know what I might be doing wrong here?
An example; I've enabled Formidable Lite and Formidable Pro and entered our License key. In our theme's functions.php I've put the following code:
function modify_my_post( $post, $args ) {
error_log( 'frm_new_post FIRED' );
return $post;
}
add_filter( 'frm_new_post', 'modify_my_post', 10, 2 );
Then I go to add and save a new Formidible form on this page mywebsite.com/wp-admin/admin.php?page=formidable&frm_action=edit&id=139.
My debug.log file never shows the hook executed. I'm finding that many of Formidable's hooks are not firing. For example, check_user_edit_form, frm_pre_update_entry, frm_allow_delete.
Can you please inform us why these hooks do not fire please
Please login or Register to submit your answer