'; } } add_action( 'wp_head', 'ample_shop_pingback_header' ); /* for time format * * @since Ample shop 1.0.0 * */ if (!function_exists('ample_shop_posted_on_theme')) : /** * Prints HTML with meta information for the current post-date/time and author. */ function ample_shop_posted_on_theme() { $time_string = get_the_time(get_option('date_format')); $posted_on = '' . esc_html($time_string) . ' '; $byline = '' . esc_html(get_the_author()) . ' '; echo '
' . $posted_on . '
' . $byline . '
'; // WPCS: XSS OK. } endif;