WordPress at a glance
function is not described

wp_get_single_post() WP 1.0.0

Deprecated in 3.5.0. It is no longer supported and can be removed in future releases. Use get_post() instead.

Retrieve a single post, based on post ID.

Has categories in 'post_category' property or key. Has tags in 'tags_input' property or key.

  • See: get_post()

No Hooks.

Return

WP_Post/null. Post object or array holding post contents and information

Usage

wp_get_single_post( $postid, $mode );
$postid(int)
Post ID.
Default: 0
$mode(string)
How to return result, either OBJECT, ARRAY_N, or ARRAY_A.
Default: OBJECT

Code of wp get single post: wp-includes/deprecated.php VER 5.0.3

<?php
function wp_get_single_post( $postid = 0, $mode = OBJECT ) {
	_deprecated_function( __FUNCTION__, '3.5.0', 'get_post()' );
	return get_post( $postid, $mode );
}