Forum Replies Created

Viewing 1 replies (of 1 total)
  • I’ve taken a look at where we’ve got our page_links_to filter and we’ve been using the whitelist approach already.


    It seems like since version 3.4 that filter doesn’t like an associative array.

    So, instead of passing an associative array for our $post_type_whitelist, it will work if we return array_values($post_type_whitelist).

    • This reply was modified 1 month, 2 weeks ago by Matt Taylor.
Viewing 1 replies (of 1 total)