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 3rd October 2022 13:05 Europe/London time based on the source file dated 15th September 2022 15:40 Europe/London time.