Remove description in custom taxonomy edit screen

check out this thread – I’m afraid nothing has changed since then, there is still no way of filtering the description field (it’s just html hardcoded in the file https://github.com/WordPress/WordPress/blob/master/wp-admin/edit-tags.php#L484, so you can’t remove it with php without editing the core files, which is never a right way to go). The hook you’re using, {$taxonomy}_edit_form_fields … Read more

How to extend a class in WordPress?

I can’t tell you what you’re doing wrong with your includes and such, but your method of extending the class is basically correct. However, the most likely scenario that I can see is that your add_action is basically executing in the wrong place. Also, you’re doing-it-wrong by allowing the original action to stand instead of … Read more

Delete Post Link to delete post, its meta and attachments

Try using these delete links instead. Yours don’t seem to be formatted right. For delete: $delLink = wp_nonce_url( admin_url() . “post.php”, “post=” . $post->ID . “&action=delete”); For trash: $delLink = wp_nonce_url( admin_url() . “post.php”, “post=” . $post->ID . “&action=trash”); EDIT: No try this instead: $post_type = get_post_type($post); $delLink = wp_nonce_url( admin_url() . “post.php?post=” . $post->ID … Read more

Add value to usermeta without removing previous values?

update_user_meta( int $user_id, string $meta_key, mixed $meta_value, mixed $prev_value=”” ) updates existing user meta based on user_id and meta key. If there are many fields with the same key, you can pass `prev_value’ to tell which field you want to update. add_user_meta( int $user_id, string $meta_key, mixed $meta_value, bool $unique = false ) adds meta … Read more

What are the differences in capabilities between the super-administrator and administrator?

The super_admin has access to all admininstrator APIs and also the multi-site functions. If you go to the codex page, it will say so: http://codex.wordpress.org/Roles_and_Capabilities#Capability_vs._Role_Table You can find the multisite functions here: http://codex.wordpress.org/Function_Reference#Multisite_functions If you want to do a more fine-grain investigation of what it can call, I suggest you get familiar with the WP … Read more