Remove the “Send Trackbacks” Post Meta Box

Be hon­est: Have you ever used the “Send Track­backs” box on the Word­Press post edit­ing screen? No?

Have you even noticed that such a box exists at all? It’s like­ly pushed down quite a bit, espe­cial­ly if you’re rock­ing The­sis, which adds a few addi­tion­al meta box­es which may push the track­backs box far­ther down the page.

You can eas­i­ly hide the “Send Track­backs” box via the “Screen Options” pan­el near the top of the page, but that’s a sim­ple style trick; Word­Press will still have to process and out­put that pan­el every time you load the add or edit post screens.

To do away with the box alto­geth­er, sim­ply drop the fol­low­ing code into your custom_functions.php file:

/**
 * Eradicate the "Send Trackbacks" post meta box
 */
function brazenly_remove_trackback_meta_box() {
	remove_meta_box( 'trackbacksdiv', 'post', 'normal' );
}
add_action('admin_menu','brazenly_remove_trackback_meta_box' );

Posted

in

by

Tags:

Comments

2 responses to “Remove the “Send Trackbacks” Post Meta Box”

  1. sergeliatko Avatar

    Screen options tab works nice as well, but thanks for the code as very use­ful on mul­ti author sites. So admin may dis­able the thing for everyone.

    1. Rick Beckman Avatar

      The dif­fer­ence is that the screen options only hide the pan­el on the client side. It’s still processed and sent to your brows­er (hide one, refresh the page, then search for it in the page source to con­firm, if you want). This code saves that pro­cess­ing time & band­width, even if it is a small savings.

Join the Discussion

Your email address will not be published. Required fields are marked *

Use your Gravatar-enabled email address while commenting to automatically enhance your comment with some of Gravatar's open profile data.

Comments must be made in accordance with the comment policy. This site uses Akismet to reduce spam; learn how your comment data is processed.

You may use Markdown to format your comments; additionally, these HTML tags and attributes may be used: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Rick Beckman