removing the standard dashboard widgets in WP so I Can replace with custom

the above example has the wrong comma type probably from copy and pasting. Here is the right type //Disable Default Dashboard Widgets function remove_dashboard_meta() { remove_meta_box(‘dashboard_incoming_links’, ‘dashboard’, ‘normal’); remove_meta_box(‘dashboard_plugins’, ‘dashboard’, ‘normal’); remove_meta_box(‘dashboard_primary’, ‘dashboard’, ‘normal’); remove_meta_box(‘dashboard_secondary’, ‘dashboard’, ‘normal’); remove_meta_box(‘dashboard_quick_press’, ‘dashboard’, ‘side’); remove_meta_box(‘dashboard_recent_drafts’, ‘dashboard’, ‘side’); remove_meta_box(‘dashboard_recent_comments’, ‘dashboard’, ‘normal’); remove_meta_box(‘dashboard_right_now’, ‘dashboard’, ‘normal’); remove_meta_box(‘dashboard_activity’, ‘dashboard’, ‘normal’); remove_meta_box(‘rg_forms_dashboard’, ‘dashboard’, ‘normal’); … Read more

How to get all post status

As documented you can set the post_status argument to ‘any’ to retrive …any status except those from post statuses with ‘exclude_from_search’ set to true (i.e. trash and auto-draft). So: $args[‘post_status’] = ‘any’;

Can you add a shortcode to a custom post type that gets the post_title, post_content, etc. and then passes that to a plugin function?

1.) First, when creating a shortcode, you must return data, not print. 2.) Yes, you must explicitly specify the post id, print the id in the button or form of your shortcode, you can also use the shortcode attributes to generate a button for a specific post (See example) Your shortcode code should be like … Read more