true, 'wpcom_product_slug' => static::get_wpcom_product_slug(), ), Wpcom_Products::get_product_pricing( static::get_wpcom_product_slug() ) ); } /** * Get the WPCOM product slug used to make the purchase * * @return string */ public static function get_wpcom_product_slug() { return 'jetpack_social'; } /** * Get the URL where the user manages the product * * @return string */ public static function get_manage_url() { if ( static::is_jetpack_plugin_active() ) { return admin_url( 'admin.php?page=jetpack#/settings?term=publicize' ); } elseif ( static::is_plugin_active() ) { return admin_url( 'admin.php?page=jetpack-social' ); } } }