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 26th April 2024 09:05 Europe/London time based on the source file dated 25th April 2024 17:25 Europe/London time.