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 27th April 2024 12:05 Europe/London time based on the source file dated 26th April 2024 15:50 Europe/London time.