A WordPress-centric search engine for devs and theme authors



wp_list_pages_excludes ›

Since2.1.0
Deprecatedn/a
apply_filters( 'wp_list_pages_excludes', $exclude_array )
Parameters:
  • (array) $exclude_array An array of page IDs to exclude.
    Required: Yes
Defined at:
Codex:

Filters the array of pages to exclude from the pages list.





Source

$r['exclude'] = implode( ',', apply_filters( 'wp_list_pages_excludes', $exclude_array ) );