HEX
Server: Apache
System: Linux webm014.cluster128.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User: circuix (152771)
PHP: 8.0.30
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/circuix/adrRc/wp-content/plugins/facebook-for-woocommerce/includes/API/Tip/Read/Response.php
<?php
declare( strict_types=1 );

namespace WooCommerce\Facebook\API\Tip\Read;

use WooCommerce\Facebook\API\Response as ApiResponse;

defined( 'ABSPATH' ) || exit;

/**
 * Response object for Tip > Read Graph Api.
 *
 * @property-read array  tip_title
 * @property-read array  tip_body
 * @property-read string tip_action_link
 * @property-read array  tip_action
 * @property-read string tip_img_url
 */
class Response extends ApiResponse {
	/**
	 * Returns tip title html content.
	 *
	 * @return string
	 */
	public function get_tip_title_html(): string {
		return $this->tip_title['__html'] ?? '';
	}

	/**
	 * Returns tip body html content.
	 *
	 * @return string
	 */
	public function get_tip_body_html(): string {
		return $this->tip_body['__html'] ?? '';
	}

	/**
	 * Returns tip action html content.
	 *
	 * @return string
	 */
	public function get_tip_action_html(): string {
		return $this->tip_action['_html'] ?? '';
	}
}