cPanel/WordPressSite
cPanel module

WordPressSite

2 functions, invoked through the cpanel_uapi tool.

scope cpanel:uapi
Call any function with cpanel_uapi(service_id, module="WordPressSite", function, params). Live availability depends on the cPanel features JetHost has enabled on your account — call list_cpanel_operations to see what is active.

create GET#

Install WordPress site

This function installs a WordPress site for cPanel user's primary domain.

No parameters.

Response — normalized as { ok, data, errors[], warnings[] }; data contains:

Payload varies by call.

retrieve GET#

Return WordPress site information

This function retrieves the installation status and detailed information of the WordPress site for cPanel user's primary domain.

No parameters.

Response — normalized as { ok, data, errors[], warnings[] }; data contains:

An object that contains the installation status and information for the WordPress site.