JoeHana
9/24/2013 - 9:00 AM

Add Custom Text to the "No Posts" Page

Add Custom Text to the "No Posts" Page

<?php

/**
 * Add Custom Text to the "No Posts" Page
 */

add_filter( 'wpsight_no_posts_text', 'custom_no_posts_text' );

function custom_no_posts_text($data) {

	$data = $data.' This is my custom Text';
	return $data;

}