The Developer Mode allow you to view all Posts, Terms, Users & Options Page custom meta data in a readable format. This feature is very useful to check what is actually saved in any WordPress Object. Additionally, meta values can be deleted individually or in bulk mode.
WP_Post Object ( [ID] => 45 [post_author] => 1 [post_date] => 2020-08-18 03:32:23 [post_date_gmt] => 2020-08-18 01:32:23 [post_content] => [post_title] => Developer Mode [post_excerpt] => [post_status] => publish [comment_status] => closed [ping_status] => closed [post_password] => [post_name] => developer-mode [to_ping] => [pinged] => [post_modified] => 2021-04-17 11:28:20 [post_modified_gmt] => 2021-04-17 09:28:20 [post_content_filtered] => [post_parent] => 0 [guid] => /?post_type=post&p=45 [menu_order] => 17 [post_type] => post [post_mime_type] => [comment_count] => 0 [filter] => edit )
The pro version display additional information for the current object and add advanced features:
WP_Post
object)The Developer Mode module is disabled by default. It can be enabled and disabled in the Settings UIPRO, or with the following code:
add_action('acf/init', 'my_acfe_modules');
function my_acfe_modules(){
// enable developer mode
acf_update_setting('acfe/dev', true);
}
add_action('acfe/init', 'my_acfe_modules');
function my_acfe_modules(){
// enable developer mode
acfe_update_setting('dev', true);
}
// enable developer mode
define('ACFE_DEV', true);
ACF Extended use the native ACF setting show_admin
to determine if the module should be displayed or not. You can read more about that setting on the ACF article How to hide ACF menu from clients. Usage example:
add_filter('acf/settings/show_admin', '__return_false');