public function featureCapitalPDangit()
    {
        foreach (['comment_text', 'the_content', 'the_title', 'wp_title'] as $filter) {
            $priority = has_filter($filter, 'capital_P_dangit');

            if (false !== $priority) {
                remove_filter($filter, 'capital_P_dangit', $priority);
            }
        }
    }
public function featureCapitalPDangit()
    {
        foreach (['comment_text', 'the_content', 'the_title', 'wp_title'] as $filter) {
            $priority = has_filter($filter, 'capital_P_dangit');

            if (false !== $priority) {
                remove_filter($filter, 'capital_P_dangit', $priority);
            }
        }
    }
public function featureCapitalPDangit ( ) { foreach ( [ 'comment_text' , 'the_content' , 'the_title' , 'wp_title' ] as $ filter ) { $ priority = has_filter ( $ filter , 'capital_P_dangit' ) ; if ( false !== $ priority ) { remove_filter ( $ filter , 'capital_P_dangit' , $ priority ) ; } } }
Remove the filter that converts "Wordpress" to "WordPress"
Remove the filter that converts Wordpress to WordPress