jetpack_contact_form_use_package
jetpack_contact_form_use_package
Appears in: jetpack.11.8, jetpack.11.8.4, jetpack.11.9, jetpack.11.9.1, jetpack.12.0, jetpack.12.1, jetpack.12.1.1, jetpack.12.2.1, jetpack.12.3, jetpack.12.5, jetpack.12.6, jetpack.12.6.1, jetpack.12.7.1, jetpack.12.8, jetpack.12.8.1, jetpack.12.9, jetpack.12.9.3, jetpack.13.0, jetpack.13.1.1, jetpack.13.1.3, jetpack.13.2, jetpack.13.2.1, jetpack.13.3.1, jetpack.13.5
Hook Type: filter
See hook in action
Displaying hooks found in version: jetpack.13.5apply_filters('jetpack_contact_form_use_package') is found 2 times:
- /class.jetpack-gutenberg.php line 733
/** * Prevent the registration of the blocks from extensions/blocks/contact-form * if the Forms package is enabled. */ 'is_form_package_enabled' => apply_filters( 'jetpack_contact_form_use_package', true ), ), 'siteFragment' => $status->get_site_suffix(), 'adminUrl' => esc_url( admin_url() ), 'tracksUserData' => $user_data, 'wpcomBlogId' => $blog_id, 'allowedMimeTypes' => wp_get_mime_types(),
- /modules/contact-form.php line 33
* @since 11.8 * * @param bool $load_contact_form_package Load Jetpack Forms package. Default to false. */ if ( apply_filters( 'jetpack_contact_form_use_package', true ) ) { Jetpack_Forms::load_contact_form(); return true; // Not returning true will cause the module to become deactivated. } require_once __DIR__ . '/contact-form/grunion-contact-form.php';