-
Notifications
You must be signed in to change notification settings - Fork 29
Open
Description
Version information
- Plugin version : 1.1.10
- PHP : 8
- WordPress : 6.2
- ACF version :
- Polylang version :
Hi guys, I'm trying to exclude a sub options page.
ACF function:
acf_add_options_sub_page([
"page_title" => __("Timer", "timer"),
"menu_title" => __("Timer", "timer"),
"menu_slug" => "timer",
"post_id" => "timer",
"redirect" => false,
"position" => "6",
"parent_slug" => "options",
"icon_url" => "dashicons-list-view",
"update_button" => __("Save", "timer"),
]);
How can I exclude this one from the plugin?
I'm trying the filter like this:
add_filter('bea.aofp.excluded_post_ids', function ($ids) {
$ids[] = 'timer';
return $ids;
}, 10, 1);
But that doesn't seem to work. Any idea what I'm doing wrong?
Thanks in advance!
Metadata
Metadata
Assignees
Labels
No labels