Developer ModeFREEPRO

Docs Modules Developer Mode

#Developer ModeFREE

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.

ACF Extended
Howdy, ACF Extended
Edit PageAdd New
WP Custom Fields 2
NameValue
_edit_last
1
_edit_lock
1611654170:1
ACF Custom Fields 4
NameValueField Group
_my_field
field_5ffd218f27704
My Field Group
my_field
Vestibulum ac diam sit amet
My Field Group
_my_date
field_5ffd27b80a8af
My Field Group
my_date
20210831
My Field Group
Publish
ID: 412
Type: Page
Status: Published
Visibility: Public
Object data: View
Meta count: 6 Clean
Author
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
)

#Advanced FeaturesPRO

The pro version display additional information for the current object and add advanced features:

  • Object ID
  • Object data (WP_Post object)
  • Meta Count
  • Clean Orphan Meta function
  • Performance Mode status
  • Inline metadata edit

#Enable The Module

The Developer Mode module is disabled by default. It can be enabled and disabled in the Settings UIPRO, or with the following code:

#Using acf/init

add_action('acf/init', 'my_acfe_modules');
function my_acfe_modules(){

    // enable developer mode
    acf_update_setting('acfe/dev', true);
    
}

#Using acfe/init


add_action('acfe/init', 'my_acfe_modules');
function my_acfe_modules(){
    
    // enable developer mode
    acfe_update_setting('dev', true);
    
}

#Using wp-config.php file

// enable developer mode
define('ACFE_DEV', true);

#Hide The Module

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');