See which user installed a plugin?
No, natively WordPress doesn’t audit and store any records of admin activity. Retroactively the best you can do is try to get relevant information from web server access logs.
No, natively WordPress doesn’t audit and store any records of admin activity. Retroactively the best you can do is try to get relevant information from web server access logs.
Set the install to default, all plugins inactive and the default theme. After this step will not reduce the load, analyze the install, like with the plugin “Debug Objects”, view the queries tab, there will give you information about slow DB Queries.
Apparently the function is not defined at the point of calling your code ..so wrap the code of yours in to a function and hook it to the init.
I was unable to solve this myself but I finally found a plugin to achieve this, not sure how I missed it in the WordPress plugin repository. https://wordpress.org/plugins/force-first-last/
There are several plugins to accomplish this. Like https://wordpress.org/plugins/wp-better-emails/ or http://wordpress.org/plugins/wp-email-template/
Here’s what I ending up using thanks to Milo, the Codex and this post from http://simple2kx.com/. add_action( ‘manage_issues_pm_posts_custom_column’, ‘my_manage_issues_pm_columns’, 10, 2 ); function my_manage_issues_pm_columns( $column, $post_id ) { global $post; switch( $column ) { /* If displaying the ‘issues_type’ column. */ case ‘issues_type’ : if ( $terms = get_terms( ‘issues_type’ ) ) { echo ‘<span>’; … Read more
Try this. Hopefully I’ve interpreted your output correctly. I’d recommend a good read of the $wpdb codex, particularly in relation to the get_col() method – http://codex.wordpress.org/Class_Reference/wpdb#SELECT_a_Column global $wpdb; // You won’t need this unless this code is within a function $query = $wpdb->prepare( ‘SELECT %1$s.guid FROM %1$s’, $wpdb->posts ); $results = $wpdb->get_col($query); $counter = 1; … Read more
I’m not 100% sure exactly what you wish to place in the ‘last revision’ column, but just so you are aware you can switch the view on the Posts table to Excerpt View using the button below the search box. This view allows you to see the first few lines of the post as well … Read more
After a bit more research, I have found a way to do this from this post https://wordpress.stackexchange.com/a/136064/54989 Rather than using unset as I had done previously, remove_menu_page works for Duplicator: remove_menu_page( ‘duplicator’ ); so my complete code now looks like: function jitb_remove_admin_menu_items() { if ( !current_user_can( ‘manage_options’ ) ) { $remove_menu_items = array( __( ‘Comments’ … Read more
I believe the filter you want is wp_get_nav_menus: function wp_get_nav_menus( $args = array() ) { $defaults = array( ‘hide_empty’ => false, ‘orderby’ => ‘name’ ); $args = wp_parse_args( $args, $defaults ); /** * Filter the navigation menu objects being returned. * * @since 3.0.0 * * @see get_terms() * * @param array $menus An array … Read more