onetone_title

The Onetone onetone title function.

Description

onetone_title( $title ); 

Parameters (1)

0. $title
The title.

Usage

  1. if ( !function_exists( 'onetone_title' ) ) { 
  2. require_once '/includes/theme-setup.php'; 
  3.  
  4. // The title. 
  5. $title = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = onetone_title($title); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/theme-setup.php  
  1. function onetone_title( $title ) { 
  2. if ( $title == '' ) { 
  3. return __( 'Untitled', 'onetone'); 
  4. } else { 
  5. return $title;