Skip to content

Method

Deprecated since 7.1.15. Unused internally, with no known external callers.

Get a page hook.

get_page_hook( string $page = 'theme-my-login' )

public

Parameters

$page string Default 'theme-my-login'
The plugin page.

Return

string The page hook.

Source

public function get_page_hook( $page = 'theme-my-login' ) {
    if ( $this->has_page( $page ) ) {
        return $this->pages[ $page ];
    }
}

Uses

Changelog

VersionDescription
7.0 Introduced.