WP_Terms_List_Table::column_slug() WordPress Method

The WP_Terms_List_Table::column_slug() method is used to generate the content for the "Slug" column on the terms list table. This method takes a single argument, the term object, and returns the term slug.

WP_Terms_List_Table::column_slug( WP_Term $tag ) #


Parameters

$tag

(WP_Term)(Required)Term object.


Top ↑

Return

(string)


Top ↑

Source

File: wp-admin/includes/class-wp-terms-list-table.php

	public function column_slug( $tag ) {
		/** This filter is documented in wp-admin/edit-tag-form.php */
		return apply_filters( 'editable_slug', $tag->slug, $tag );
	}

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.