Plugin Directory

Changeset 3052735


Ignore:
Timestamp:
03/17/2024 03:47:46 PM (2 years ago)
Author:
Jeffinho2016
Message:

user meta

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sortable-dashboard-to-do-list/assets/blueprints/blueprint.json

    r3052692 r3052735  
    2525        },
    2626        {
    27             "step": "runPHP",
    28             "code": "<?php require_once 'wordpress/wp-load.php'; add_action('wp_dashboard_setup','sdtdl_remove_meta_boxes');function sdtdl_remove_meta_boxes() {remove_meta_box( 'dashboard_activity', 'dashboard', 'normal');}"
    29         }
     27            "step": "updateUserMeta",
     28            "meta": {
     29                "metaboxhidden_dashboard": ["dashboard_right_now","dashboard_site_health","dashboard_quick_press","dashboard_primary","wp_welcome_panel","dashboard_activity"]
     30            },
     31            "userId": 1
     32        }
    3033    ]
    3134}
Note: See TracChangeset for help on using the changeset viewer.