gpasc_new_draft_form_path
Description
Allows the form path used in the “New Draft” button to be modified. This can be useful when the form is loaded with an AJAX request.
Usage
Applied globally
add_filter( 'gpasc_new_draft_form_path', 'my_custom_function' );Applied to specific form
add_filter( 'gpasc_new_draft_form_path_FORMID', 'my_custom_function' );Parameters
$form_path
string
The path to the current form.
$form
array
The current form being processed.