protected function postArgs() {
		global $page, $numpages, $more, $wp_rewrite;

		// Split the current URL between the base and query string.
		$this->url_parts = explode( '?', html_entity_decode( get_permalink() ) );

		// Build the base without the query string.
		$base = trailingslashit( $this->url_parts[0] ) . '%_%';

		// Build URL format.
		$format  = $wp_rewrite->using_index_permalinks() && ! strpos( $base, 'index.php' ) ? 'index.php/' : '';
		$format .= $wp_rewrite->using_permalinks() ? user_trailingslashit( '%#%' ) : '?page=%#%';

		return [
			'base'    => $base,
			'format'  => $format,
			'current' => ! $more && 1 === $page ? 0 : $page,
			'total'   => $numpages
		];
	}
protected function postArgs() {
		global $page, $numpages, $more, $wp_rewrite;

		// Split the current URL between the base and query string.
		$this->url_parts = explode( '?', html_entity_decode( get_permalink() ) );

		// Build the base without the query string.
		$base = trailingslashit( $this->url_parts[0] ) . '%_%';

		// Build URL format.
		$format  = $wp_rewrite->using_index_permalinks() && ! strpos( $base, 'index.php' ) ? 'index.php/' : '';
		$format .= $wp_rewrite->using_permalinks() ? user_trailingslashit( '%#%' ) : '?page=%#%';

		return [
			'base'    => $base,
			'format'  => $format,
			'current' => ! $more && 1 === $page ? 0 : $page,
			'total'   => $numpages
		];
	}
protected function postArgs ( ) { global $ page , $ numpages , $ more , $ wp_rewrite ; // Split the current URL between the base and query string. $ this -> url_parts = explode ( '?' , html_entity_decode ( get_permalink ( ) ) ) ; // Build the base without the query string. $ base = trailingslashit ( $ this -> url_parts [ 0 ] ) . '%_%' ; // Build URL format. $ format = $ wp_rewrite -> using_index_permalinks ( ) && ! strpos ( $ base , 'index.php' ) ? 'index.php/' : '' ; $ format .= $ wp_rewrite -> using_permalinks ( ) ? user_trailingslashit ( '%#%' ) : '?page=%#%' ; return [ 'base' => $ base , 'format' => $ format , 'current' => ! $ more && 1 === $ page ? 0 : $ page , 'total' => $ numpages ] ; }
Returns custom arguments for singular post pagination.

@since  5.0.0
@access protected
@global int     $page
@global int     $numpages
@global bool    $more
@global object  $wp_rewrite
@return array
Returns custom arguments for singular post pagination .