PATH:
home
/
sarkas88.com
/
public_html
/
wp-content
/
plugins
/
wordpress-seo
/
src
/
helpers
<?php namespace Yoast\WP\SEO\Helpers; /** * Represents helper methods for WooCommerce. */ class Woocommerce_Helper { /** * Checks if WooCommerce is active. * * @return bool Is WooCommerce active. */ public function is_active() { return \class_exists( 'WooCommerce' ); } /** * Returns the id of the set WooCommerce shop page. * * @return int The ID of the set page. */ public function get_shop_page_id() { if ( ! \function_exists( 'wc_get_page_id' ) ) { return -1; } return \wc_get_page_id( 'shop' ); } /** * Checks if the current page is a WooCommerce shop page. * * @return bool True when the page is a shop page. */ public function is_shop_page() { if ( ! \function_exists( 'is_shop' ) ) { return false; } if ( ! \is_shop() ) { return false; } if ( \is_search() ) { return false; } return true; } /** * Checks if the current page is a WooCommerce shop page. * * @return bool True when the page is a shop page. */ public function current_post_is_terms_and_conditions_page() { if ( ! \function_exists( 'wc_terms_and_conditions_page_id' ) ) { return false; } global $post; if ( ! isset( $post->ID ) ) { return false; } return \intval( $post->ID ) === \intval( \wc_terms_and_conditions_page_id() ); } }
[-] indexing-helper.php
[open]
[-] wordpress-helper.php
[open]
[-] string-helper.php
[open]
[-] social-profiles-helper.php
[open]
[-] short-link-helper.php
[open]
[-] sanitization-helper.php
[open]
[-] curl-helper.php
[open]
[-] permalink-helper.php
[open]
[-] notification-helper.php
[open]
[-] environment-helper.php
[open]
[-] pagination-helper.php
[open]
[+]
open-graph
[-] url-helper.php
[open]
[-] primary-term-helper.php
[open]
[-] user.cursor.php
[open]
[-] redirect-helper.php
[open]
[-] home-url-helper.php
[open]
[-] wpdb-helper.php
[open]
[-] require-file-helper.php
[open]
[-] site-helper.php
[open]
[-] post-type-helper.php
[open]
[-] asset-helper.php
[open]
[-] date-helper.php
[open]
[+]
schema
[-] options-helper.php
[open]
[-] import-cursor-helper.php
[open]
[-] taxonomy-helper.php
[open]
[-] post-helper.php
[open]
[-] attachment-cleanup-helper.php
[open]
[-] robots-txt-helper.php
[open]
[-] import-helper.php
[open]
[-] meta-helper.php
[open]
[-] score-icon-helper.php
[open]
[-] woocommerce-helper.php
[open]
[+]
twitter
[-] blocks-helper.php
[open]
[-] indexable-to-postmeta-helper.php
[open]
[-] language-helper.php
[open]
[+]
..
[-] user-helper.php
[open]
[-] wincher-helper.php
[open]
[-] author-archive-helper.php
[open]
[-] crawl-cleanup-helper.php
[open]
[-] image-helper.php
[open]
[-] first-time-configuration-notice-helper.php
[open]
[-] robots-helper.php
[open]
[-] route-helper.php
[open]
[-] product-helper.php
[open]
[-] capability-helper.php
[open]
[-] aioseo-helper.php
[open]
[-] indexable-helper.php
[open]
[-] current-page-helper.php
[open]