• Resolved roeeyossef

    (@roeeyossef)


    Hey Guys,

    How can i detect the wish list page?

    TO be clear, to detect Woocommerce my account page i use:

    if (is_account_page())

    Thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author templateinvaders

    (@templateinvaders)

    Hi @roeeyossef

    You can use the next condition:
    is_page( apply_filters( 'wpml_object_id', tinv_get_option( 'page', 'wishlist' ), 'page', true )

    Note: is_page() you have to hook at least on parse_query to get results. In other cases, you can use the global $post to compare IDs.

    Thread Starter roeeyossef

    (@roeeyossef)

    Thanks ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Detect wishlist page via php’ is closed to new replies.