Collections functions
General functions
Render functions
Theme permission functions
Resource functions

pagename()

Description

Returns the current page name minus the extension, e.g. "home" for pages/home.php

Parameters

This function accepts no parameters.

Return

string

This article was last updated 31st January 2023 11:05 Europe/London time based on the source file dated 19th January 2023 09:30 Europe/London time.