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 20th May 2022 09:05 Europe/London time based on the source file dated 5th May 2022 10:10 Europe/London time.