Code Duplication    Length = 17-17 lines in 2 locations

modules/events_archive/EED_Events_Archive.module.php 2 locations

@@ 630-646 (lines=17) @@
627
     * @access    private
628
     * @return        void
629
     */
630
    private static function _add_additional_excerpt_filters()
631
    {
632
        add_filter(
633
            'the_excerpt',
634
            array('EED_Events_Archive', 'event_datetimes'),
635
            EED_Events_Archive::EVENT_DATETIMES_PRIORITY
636
        );
637
        add_filter(
638
            'the_excerpt',
639
            array('EED_Events_Archive', 'event_tickets'),
640
            EED_Events_Archive::EVENT_TICKETS_PRIORITY
641
        );
642
        add_filter(
643
            'the_excerpt',
644
            array('EED_Events_Archive', 'event_venues'),
645
            EED_Events_Archive::EVENT_VENUES_PRIORITY
646
        );
647
    }
648
649
@@ 657-673 (lines=17) @@
654
     * @access    private
655
     * @return        void
656
     */
657
    private static function _add_additional_content_filters()
658
    {
659
        add_filter(
660
            'the_content',
661
            array('EED_Events_Archive', 'event_datetimes'),
662
            EED_Events_Archive::EVENT_DATETIMES_PRIORITY
663
        );
664
        add_filter(
665
            'the_content',
666
            array('EED_Events_Archive', 'event_tickets'),
667
            EED_Events_Archive::EVENT_TICKETS_PRIORITY
668
        );
669
        add_filter(
670
            'the_content',
671
            array('EED_Events_Archive', 'event_venues'),
672
            EED_Events_Archive::EVENT_VENUES_PRIORITY
673
        );
674
    }
675
676