Skip to content

Method

Get the action slug.

get_slug( )

public

Return

string The action slug.

Source

public function get_slug() {
    /**
     * Filter the action slug.
     *
     * @since 7.0
     *
     * @param string $slug The action slug.
     * @param string $name The action name.
     */
    return apply_filters( 'tml_get_action_slug', $this->slug, $this->get_name() );
}

Uses

Used by

Changelog

VersionDescription
7.0 Introduced.