Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


How do I disable trackbacks and pingbacks?



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

Post New Answer

More WordPress Interview Questions

Explain the difference between wordpress themes and plugins.

1 Answers  


Explain the procedure to pass a variable by value in wordpress?

1 Answers  


When will you not be able to see the plugin menu in a wordpress site?

1 Answers  


What is a category page?

1 Answers  


How to improve security in a wordpress site?

1 Answers  


Can I reinstall wordpress without losing content?

1 Answers  


What is the Alternative CMS of WordPress?

1 Answers  


Can you have 2 themes in wordpress?

1 Answers  


What is child theme? Why we used it?

1 Answers  


What are the types of hooks in wordpressp and what are their functions?

1 Answers  


Why do people use drupal?

1 Answers  


How do I backup my wordpress site for free?

1 Answers  


Categories