Function to tell you the geodir page

This topic contains 2 replies, has 2 voices, and was last updated by  Alex Howes 6 years, 7 months ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
  • Author
    Posts
  • #442089

    Alex Howes
    Expired Member
    Post count: 175

    Hello,

    Is there a geodirectory function that returns the type of the current geodirectory page as a string? Kind of a reverse of geodir_is_page(), e.g. if the page is a geodir preview page, it would return ‘preview’.

    Thanks,
    Alex

    #442121

    Patrik
    Moderator
    Post count: 1971

    Hi Alex,

    There is no such function but you can create new with reference to the function geodir_is_page() and use it.

    Regards,
    Patrik

    #442122

    Alex Howes
    Expired Member
    Post count: 175

    Ok, I’ll do that.

Viewing 3 posts - 1 through 3 (of 3 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount