• Resolved nowton

    (@nowton)


    Just wondering: we have custom functionality where this plugin does not affect the excerpts. Would it be possible to use get_the_advanced_excerpt() so we can store the data, rather then directly outputting it? Thanks in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author WPKube

    (@wpkube)

    Hi @nowton,

    the_advanced_excerpt accepts 2 parameters. First one is for arguments (if you don’t want it to use the settings set in the WP admin) and the second is what you want, set that to true and it returns instead of echo.

    Example:

    $excerpt = the_advanced_excerpt( '', true );

    Thread Starter nowton

    (@nowton)

    Excellent, I must have overlooked this in documentation. Thanks again!

    Plugin Author WPKube

    (@wpkube)

    You’re welcome @nowton

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘get_the_advanced_excerpt() possible?’ is closed to new replies.