Collections functions
General functions
Node functions
Render functions
Theme permission functions
User 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 18th May 2024 16:05 Europe/London time based on the source file dated 17th May 2024 09:00 Europe/London time.