HEX
Server: Apache/2
System: Linux cloudserver.ecpvn.com 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: monspa (1053)
PHP: 7.4.33
Disabled: exec,system,passthru,shell_exec,proc_close,proc_open,dl,popen,show_source,posix_kill,posix_mkfifo,posix_getpwuid,posix_setpgid,posix_setsid,posix_setuid,posix_setgid,posix_seteuid,posix_setegid,posix_uname
Upload Files
File: /home/monspa/public_html/wp-content/plugins/wordpress-seo/src/plans/domain/add-ons/woo.php
<?php

// phpcs:disable Yoast.NamingConventions.NamespaceName.TooLong -- Needed in the folder structure.
namespace Yoast\WP\SEO\Plans\Domain\Add_Ons;

use WPSEO_Addon_Manager;
use Yoast\WP\SEO\Plans\Infrastructure\Add_Ons\Managed_Add_On;

/**
 * The Yoast WooCommerce SEO add-on.
 */
class Woo extends Managed_Add_On implements Add_On_Interface {

	/**
	 * The slug of the add-on.
	 *
	 * @var string
	 */
	protected const SLUG = WPSEO_Addon_Manager::WOOCOMMERCE_SLUG;

	/**
	 * Returns the ID.
	 *
	 * @return string
	 */
	public function get_id(): string {
		return 'woo';
	}

	/**
	 * Returns the click-to-buy action.
	 *
	 * @return string
	 */
	public function get_ctb_action(): string {
		return 'load-nfd-woo-ctb';
	}

	/**
	 * Returns the click-to-buy ID.
	 *
	 * @return string
	 */
	public function get_ctb_id(): string {
		return '5b32250e-e6f0-44ae-ad74-3cefc8e427f9';
	}
}