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.
Return
(string)
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 ); }
Expand full source codeCollapse full source codeView on TracView on GitHub