Codex

Function Reference/get extended

This page is marked as incomplete. You can help Codex by expanding it.

Contents

Description

Get extended entry info ( <!--more--> ).

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' and 'extended' keys. Main has the text before the <code><!--more--></code> . The 'extended' key has the content after the <code><!--more--></code> comment.

Usage

<?php get_extended$post ?>

Parameters

$post
(string) (required) Post content.
Default: None

Return Values

(array) 
Post before ('main') and after ('extended').

Examples

Notes

Change Log

Since: 1.0.0

Source File

get_extended() is located in wp-includes/post.php.

Related

See also index of Function Reference and index of Template Tags.