So I just found this filter:
the_posts
https://codex.wordpress.org/Plugin_API/Filter_Reference/the_posts
Send it to a function, and the first parameter is the entire post page with the pagebreak.
My plan is to run it through regex, delete the first occurence of the <!--nextpage-->
and return it. I’ll see if that works
Related Posts:
- The next_posts_link() works only with original $wp_query
- Skipping first 3 posts in wp query
- Pagination not working on Custom Page Template
- If specific user role then sticky post
- When paginating a Page with the tag, how can the 2nd and subsequent page styles be customised?
- Converting multiple loops into one single loop with pagination
- Lazy Load using WP_Query pagination
- How can I remove posts of a certain category from homepage after a specified time period?
- Should $found_posts be returned as string in ‘found_posts’ filter hook?
- How do I detect which page I’m on within a paginated post?
- Blog post per page setting conflicting with custom WP_Query?
- Change post order random through out the entire WordPress
- How to filter my search in post if contains a word in title, content or excerpt?
- How to : pagination in 3 different custom loops on the same page
- How safe is renovating $wp_query when doing WP_Query pagination in Page Template
- Why are my paginated posts always returning the same results?
- Getting blog pagination to work on page set as front page
- How do I display main query posts in random order using add_filter
- Manipulated offset and pagination, can’t display last post anymore
- the wp_post_update isn’t working all the time
- Display/Filter post using if else statement
- Numbered Pagination Showing The Same Posts After Altering WP_Query
- long-title posts do not want published
- Get results from the main wp_query
- Add wp-link-pages to post
- Pagination for custom query won’t let me back on page 1
- Can’t get pagination to work
- The next_posts_link() works only with original $wp_query
- wp_query posts sorting doesn’t work
- Limit amount of pages shown in pagination within wp_query
- query_posts different amount of posts per page [duplicate]
- Add custom PHP (no-SQL) filter to WP_query
- Filters do not work when there are multiple (one works)
- use wpml_post_language_details function other plugin based on $post->ID [closed]
- How to verify wp user password by sql query in wp? [closed]
- How to hide html tags on revision comparison pages?
- Add filter by custom field to block of posts
- Removing noindex posts from wp_query
- Blog page pagination is not working after using the offset argument
- WP Query – Posts Per Page not working in combination with category__in
- Ajax post filters not working
- Default to ‘all’ view on the ‘edit-post’ screen for authors
- Display Meta Values in Custom Filter – Admin Custom Posts
- Ajaxify This Code
- Custom loop pagination links not working
- More then one menu items are assigned with “current-menu-item” class
- How to return another post than requested
- Update post_content everytime a custom post is opened in backend
- Pausing and Resuming WP_Query results
- How to do set post permalinks using 6 digit random unique function?
- How to Restrict Previous & Next Post Link to Posts of Same Category?
- Select only post id and meta value with WP_Query
- Making a custom Pagination for multi page blog post
- Lost draft under all posts and drafts
- Get user categories with most posts in it
- pagination for single post by category
- 301 (static page instead latest posts)
- Posts and Attachments with “Published” status in Search
- Random ajax load only works with posts_per_page set to -1
- Pagination with an array of post objects?
- Start WP Pagination From Number 1 in URL
- Exclude the first ‘n’ number of posts of a tag from home page?
- Query posts and return XML
- how to change the number of posts returned in a specific loop without making it global?
- Customizing Comments on Posts
- Query Posts With Over 1000 Views
- How to allow visitors to filter posts by multiple taxonomies
- posts_per_page option limits the number of Gallery items
- List authors with the last post title and order by last post date
- How to order posts by meta_value and title
- Use two different post_per_page limits with infinite scroll
- Start post pagination at 0 instead of 1
- wp_query random post
- wp_posts table: safely remove unused columns to save database storage
- Query Posts by Custom Field
- Adding a blog archive with pagination using WP_Query
- How to get Tags with specific post id
- Redirect to another page using contact form 7? [closed]
- how can i change WP main archives loop to sort by name or title
- Trying to alter the post_content through the_post
- Using wp_list_pages() after calling query_posts()
- how to get post order by post id wp_query?
- Possible to alternate between two loops
- Nested WP_Query breaking loop
- WordPress query_posts by tag doesn’t work anymore(?)
- add to end of post in the loop with plugin
- Add filter to the end of the post
- using is_paged for hiding image on posts
- How to display all posts divided/ordered by post date? [closed]
- Why Query is returning empty array?
- How do I extract just the post ID of the first item in whatever WP_Query returns?
- Show post content and title in diferent divs using WP_Query using a loop
- Get post content with all filters applied, knowing post id
- Ignore latest two posts
- Is it possible to use WP_Query to only pull posts with attachments?
- Adding bootstrap classes to video shortcodes
- Is it possible to filter the main loop to exclude posts from a specific category?
- Show posts by author of membership level (Paid Membership Pro)
- Inner join overrides Advanced Custom Fields plugin’s get_field [closed]
- meta_value timestamp older than now