Add block-editor support
Compare changes
- Erick Hitter authored
+ 98
− 49
@@ -465,45 +465,82 @@ class Automatically_Paginate_Posts {
@@ -465,45 +465,82 @@ class Automatically_Paginate_Posts {
@@ -513,18 +550,18 @@ class Automatically_Paginate_Posts {
@@ -513,18 +550,18 @@ class Automatically_Paginate_Posts {
// In-time filtering of number of pages to break over, based on post data. If value is less than 2, nothing should be done.
$num_pages = absint( apply_filters( 'autopaging_num_pages', absint( $this->num_pages ), $the_post ) );
$num_words = absint( apply_filters( 'autopaging_num_words', absint( $this->num_words ), $the_post ) );
@@ -540,7 +577,7 @@ class Automatically_Paginate_Posts {
@@ -540,7 +577,7 @@ class Automatically_Paginate_Posts {
@@ -614,10 +651,22 @@ class Automatically_Paginate_Posts {
@@ -614,10 +651,22 @@ class Automatically_Paginate_Posts {