get_extended


get_extended ( $post )

Parameters:
  • (string) post Post content.
Returns:
  • (string[]) { Extended entry info. @type string $main Content before the more tag. @type string $extended Content after the more tag. @type string $more_text Custom read more text, or empty string. }
Defined at:

Description

Gets extended entry info ().There should not be any space after the second dash and before the word 'more'. There can be text or space(s) after the word 'more', but won't be referenced. The returned array has 'main', 'extended', and 'more_text' keys. Main has the text before the ``. The 'extended' key has the content after the `` comment. The 'more_text' key has the custom "Read More" text.

Related Functions

get_enclosed, get_theme, get_theme_mod, get_the_id, get_themes

Top Google Results

User discussions

wpseek mobile