public/wordpress/wp-content/themes/puro/functions.php
/**
* Handles the site title, copyright symbol and year string replace for the Footer Copyright theme option.
*/
Handles the site title, copyright symbol and year string replace for the Footer Copyright theme option.
Handles the site title copyright symbol and year string replace for the Footer Copyright theme option .
function puro_footer_copyright_text_sub( $copyright ) {
	$site_title = '<a href="' . esc_url( home_url( '/' ) ) . '">' . get_bloginfo( 'name' ) . '</a>';
	return str_replace(
		array('{site-title}', '{copyright}', '{year}'),
		array($site_title, '&copy;', date('Y')),
		$copyright
	);
}
function puro_footer_copyright_text_sub ( $ copyright ) { $ site_title = '<a href="' . esc_url ( home_url ( '/' ) ) . '">' . get_bloginfo ( 'name' ) . '</a>' ; return str_replace ( array ( '{site-title}' , '{copyright}' , '{year}' ) , array ( $ site_title , '&copy;' , date ( 'Y' ) ) , $ copyright ) ; }
Handles the site title, copyright symbol and year string replace for the Footer Copyright theme option.
Handles the site title copyright symbol and year string replace for the Footer Copyright theme option .