content_pagination

content_pagination

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('content_pagination') is found 1 times:

  • /wp-includes/class-wp-query.php line 4845
    		 *
    		 * @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;