Function Referance: wpex_get_excerpt

This function can be used to return the excerpt for any post. Must be used within a loop.

$excerpt = wpex_get_excerpt( array(
    'output'          => '',
    'length'          => '30',
    'readmore'        => false,
    'readmore_link'   => '',
    'more'            => '…',
    'custom_output'   => null,
    'context'         => '', // Used for second argument in apply_filters
    'custom_excerpts' => true,
) );