content_pagination, $pages, $post

content_pagination, $pages, $post

Appears in:
Hook Type: filter

See hook in core

Displaying hooks found in version: 7.0.3

apply_filters('content_pagination, $pages, $post') is found 1 times:

  • /wp-includes/class-wp-query.php line 4950
    		 *
    		 * @param string[] $pages Array of "pages" from the post content split by `<!-- nextpage -->` tags.
    		 * @param WP_Post  $post  Current post object.
    		 */
    		$pages = apply_filters( 'content_pagination', $pages, $post );
    
    		$numpages = count( $pages );
    
    		if ( $numpages > 1 ) {
    			if ( $page > 1 ) {
    				$more = 1;