Update marketing hub recommended plugins API url. (https://github.com/woocommerce/woocommerce-admin/pull/4036)
* Update recommended plugins WCCOM url * Remove todo. Co-authored-by: Timmy Crawford <timmydcrawford@gmail.com>
This commit is contained in:
parent
7cf441038f
commit
e78a4bc2db
|
@ -122,8 +122,7 @@ class Marketing {
|
|||
$plugins = get_transient( self::RECOMMENDED_PLUGINS_TRANSIENT );
|
||||
|
||||
if ( false === $plugins ) {
|
||||
// TODO update placeholder URL.
|
||||
$request = wp_remote_get( 'https://ephemeral-findingsimple-20200320.atomicsites.blog/wp-json/wccom/marketing-tab/1.0/recommendations.json' );
|
||||
$request = wp_remote_get( 'https://woocommerce.com/wp-json/wccom/marketing-tab/1.0/recommendations.json' );
|
||||
$plugins = [];
|
||||
|
||||
if ( ! is_wp_error( $request ) && 200 === $request['response']['code'] ) {
|
||||
|
|
Loading…
Reference in New Issue