Answer Posted / 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 View All Answers