How do I disable trackbacks and pingbacks?
Answer / Azra Firdaush
To disable trackbacks and pingbacks in WordPress, you can use a plugin like Disable Comments or manually modify your functions.php file by adding the following code:nn```phpn// Disable trackbacks and pingbacksnfunction my_disable_links( $links ) {n foreach ( $links as &$link ) {n if ( is_pingback() && 'wp-comments-post.php' != basename( get_permalink() )) continue; }n return $links;n}nadd_filter( 'pre_update_option_discuss', 'my_disable_links' );n```
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain the difference between wordpress themes and plugins.
Explain the procedure to pass a variable by value in wordpress?
When will you not be able to see the plugin menu in a wordpress site?
What is a category page?
How to improve security in a wordpress site?
Can I reinstall wordpress without losing content?
What is the Alternative CMS of WordPress?
Can you have 2 themes in wordpress?
What is child theme? Why we used it?
What are the types of hooks in wordpressp and what are their functions?
Why do people use drupal?
How do I backup my wordpress site for free?