get_form_admin_settings( $provider_slug ); if ( $admin_settings === null ) { return ''; } $template = $admin_settings->get_form_edit_url_template(); if ( $template === '' ) { return ''; } return admin_url( sprintf( $template, (int) $form_id ) ); } }