web/wp-content/plugins/ghost-runner/plugin.php
/**
 * Get the URL for the form editor
 *
 * @param string $formId Form ID
 *
 * @return string
 */
Get the URL for the form editor
@param string $formId Form ID

@return string
Get the URL for the form editor @param string $formId Form ID @return string
function calderaGhostRunnerFormUrl( $formId ){
	$admin = \Caldera_Forms_Admin::get_instance();
	if( method_exists( $admin, 'form_edit_link' ) ) {
		return \Caldera_Forms_Admin::form_edit_link( $formId );
	}else{
		$args = array(
			'edit' => $formId,
			'page' => \Caldera_Forms::PLUGIN_SLUG
		);
		return add_query_arg( $args, admin_url( 'admin.php' ) );
	}
}
function calderaGhostRunnerFormUrl ( $ formId ) { $ admin = \ Caldera_Forms_Admin :: get_instance ( ) ; if ( method_exists ( $ admin , 'form_edit_link' ) ) { return \ Caldera_Forms_Admin :: form_edit_link ( $ formId ) ; } else { $ args = array ( 'edit' => $ formId , 'page' => \ Caldera_Forms :: PLUGIN_SLUG ) ; return add_query_arg ( $ args , admin_url ( 'admin.php' ) ) ; } }
Get the URL for the form editor
 @param string $formId Form ID
Get the URL for the form editor @param string $formId Form ID