From b8c48a7aca486603eaa9e6fa2b87c5c3fefe94cd Mon Sep 17 00:00:00 2001 From: Stephane Demotte Date: Thu, 22 Nov 2018 20:04:41 -0500 Subject: [PATCH] add pages --- options/origin-acf-options.php | 1 + 1 file changed, 1 insertion(+) diff --git a/options/origin-acf-options.php b/options/origin-acf-options.php index 35f453c..aee3f6c 100644 --- a/options/origin-acf-options.php +++ b/options/origin-acf-options.php @@ -11,6 +11,7 @@ function __construct() { add_action( 'init', function() { $post_types = array_diff(get_post_types(['_builtin' => false]), ['acf-field-group', 'acf-field']); $post_types['option'] = 'option'; + $post_types['page'] = 'page'; // add taxonomy in filter $terms = get_taxonomies();