Download the PHP package automattic/jetpack-help-center without Composer
On this page you can find all versions of the php package automattic/jetpack-help-center. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download automattic/jetpack-help-center
More information about automattic/jetpack-help-center
Files in automattic/jetpack-help-center
Package jetpack-help-center
Short Description Help Center backend for WordPress.com-connected sites
License GPL-2.0-or-later
Informations about the package jetpack-help-center
Help Center
The Help Center package provides the PHP backend used to load the WordPress.com Help Center on WordPress sites. It enqueues the frontend bundles from widgets.wp.com, exposes the helpCenterData bootstrap payload, and registers the /help-center REST API proxy endpoints.
The frontend is maintained in the Calypso repository under packages/help-center and apps/help-center.
Installation
Require the Composer package:
Initialize it on WordPress's init hook:
The package expects the consuming plugin to load its Composer autoloader. Jetpack Autoloader is recommended when multiple plugins may ship Jetpack packages.
Public Frontend Surfaces
Consumers can opt a frontend request into the existing logged-out Help Center bundle. The package continues to own variant selection and asset loading:
Custom WordPress.com Authentication
By default, the package sends logged-in WordPress.com requests through Jetpack
Connection and logged-out requests anonymously. Consumers with another
authentication system can implement Wpcom_Request_Client and provide it before
Help Center initializes:
Standalone consumers may instead pass the client directly to Help_Center::init().
Features
- Loads Help Center bundles in wp-admin, the block editor, the customizer, and supported frontend contexts.
- Adds the Help Center entry point to the WordPress admin bar.
- Provides connected and disconnected variants based on Jetpack connection state.
- Registers the
/help-centerREST namespace used by the frontend, including anonymous proxy requests for logged-out users. - Limits persisted Help Center router history to 50 entries.
Development
Run the PHP test suite from the Jetpack monorepo:
Frontend JS and CSS changes belong in Calypso and are deployed to widgets.wp.com. PHP changes require a release of this package and an update to the consuming plugin.
Security
Need to report a security vulnerability? Go to Automattic's security page or the Automattic HackerOne program.
License
jetpack-help-center is licensed under the GNU General Public License v2 or later.
All versions of jetpack-help-center with dependencies
automattic/jetpack-connection Version ^8.8.0
automattic/jetpack-status Version ^6.1.9