Warning: Illegal string offset ‘post’ and ‘page’

Question

if ( !function_exists( 'plumbing_parts_post_list_post_types' ) ) {
    //add_filter('plumbing_parts_filter_list_post_types',   'plumbing_parts_post_list_post_types', 9, 1);
    function plumbing_parts_post_list_post_types($list) {
        $list['post'] = esc_html__('post', 'plumbing-parts');
        $list['page'] = esc_html__('page', 'plumbing-parts');
        return $list;
    }
0
Dhruv Patel 1 week 2022-11-21T00:53:49-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse