Get a shared form instance.
public static get_instance ( integer | WP_Post $form_id ) : MC4WP_Form | ||
$form_id | integer | WP_Post | |
리턴 | MC4WP_Form |
/** * Returns a Form instance * * @access public * * @param int|WP_Post $form_id. * * @return MC4WP_Form */ function mc4wp_get_form($form_id = 0) { return MC4WP_Form::get_instance($form_id); }