Function Reference: geodir_title_meta_pagetotal

Summary

Retrieve the current page total for use as replacement string.

Package

GeoDirectory

Return Values

(string|null)
  • The current page total.

Change Log

Since: 1.6.0

Source File

geodir_title_meta_pagetotal() is located in geodirectory-functions/general_functions.php [Line: 5138]

Source Code

function geodir_title_meta_pagetotal() {
	$replacement = null;

	$max = geodir_title_meta_pagenumbering( 'max' );
	if ( isset( $max ) && $max > 0 ) {
		$replacement = (string) $max;
	}

	return $replacement;
}