HEX
Server: LiteSpeed
System: Linux sg-cp4.cloudnetwork.vn 4.18.0-553.69.1.lve.el8.x86_64 #1 SMP Wed Aug 13 19:53:59 UTC 2025 x86_64
User: thu28850 (1134)
PHP: 7.4.33
Disabled: NONE
Upload Files
File: //home/thu28850/www/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'] ?? '';
	}
}