WC_Admin_Setup_Wizard::install_jetpack()
Deprecated from version 4.6.0. It is no longer supported and can be removed in future releases. It is recommended to replace this function with the same one.
Helper method to install Jetpack.
Method of the class: WC_Admin_Setup_Wizard{}
No Hooks.
Return
null
. Nothing (null).
Usage
// protected - for code of main (parent) or child class $result = $this->install_jetpack();
Changelog
Deprecated since | 4.6.0 |
WC_Admin_Setup_Wizard::install_jetpack() WC Admin Setup Wizard::install jetpack code WC 9.6.1
protected function install_jetpack() { _deprecated_function( __CLASS__ . '::' . __FUNCTION__, '4.6.0', 'Onboarding is maintained in WooCommerce Admin.' ); $this->install_plugin( 'jetpack', array( 'name' => __( 'Jetpack', 'woocommerce' ), 'repo-slug' => 'jetpack', ) ); }