Example #1
0
function the_chunk($chunkslug = '')
{
    echo get_chunk($chunkslug);
}
Example #2
0
/**
 * Prints out a specified chunk.
 *
 * @since 1.0.0
 *
 * @global WP_Post $post The current post object.
 *
 * @param int $i Optional The number of the chunk, 1-indexed.
 *
 * @return string The processed content chunk.
 */
function the_chunk($i = null)
{
    global $post;
    echo get_chunk($i);
}