W3cubDocs

/WordPress

WP_Media_List_Table::column_desc( WP_Post $post )

Handles the description column output.

Parameters

$postWP_Postrequired
The current WP_Post object.

Source

public function column_desc( $post ) {
	_deprecated_function( __METHOD__, '6.2.0' );

	echo has_excerpt() ? $post->post_excerpt : '';
}

Changelog

Version Description
6.2.0 This method has been deprecated.
4.3.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_media_list_table/column_desc