Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removed the priority from the_content() filter.

  • Loading branch information...
commit 40411eed7855ee7a97640ee8e4ea73415511935e 1 parent 710633e
Remco Tolsma remcotolsma authored
Showing with 1 addition and 8 deletions.
  1. +1 −8 pronamic-page-teasers.php
9 pronamic-page-teasers.php
View
@@ -40,13 +40,6 @@ class PronamicPageTeasers {
*/
const META_KEY_TEASERS = '_pronamic_page_teasers';
- /**
- * The default 'the_content' priority
- *
- * @var int
- */
- const FILTER_THE_CONTENT_PRIORITY = 20;
-
////////////////////////////////////////////////////////////
/**
@@ -68,7 +61,7 @@ public static function init() {
add_action('admin_init', array(__CLASS__, 'adminInitialize'));
- add_filter('the_content', 'pronamic_page_teasers_the_content', self::FILTER_THE_CONTENT_PRIORITY);
+ add_filter( 'the_content', 'pronamic_page_teasers_the_content' );
}
////////////////////////////////////////////////////////////
Please sign in to comment.
Something went wrong with that request. Please try again.