Open Loosie94 opened 1 year ago
@Loosie94 I think you can use the beabea.aofp.get_default
-hook to see what post_id the field belongs to.
Just var_dump the the $post_id
and you should se it above each value fetched from the option pages.
# functions.php
add_filter('bea.aofp.get_default', function ($show_default, $post_id) {
var_dump($post_id);
return $show_default;
}, 10, 2);
Version information
Hi guys, I'm trying to exclude a sub options page. ACF function:
How can I exclude this one from the plugin? I'm trying the filter like this:
But that doesn't seem to work. Any idea what I'm doing wrong? Thanks in advance!