• Resolved koolpal

    (@koolpal)


    Hi,

    I am unable to locate any settings to Disable Self Pingbacks

    Is it the same if I UNCHECK -> Default post settings -> Attempt to notify any blogs linked to from the post?

    If it is not the same, Is the option missing in Clearfy OR am I unable to find it?

    Please guide.

    Thanks

Viewing 7 replies - 1 through 7 (of 7 total)
  • Temyk

    (@webtemyk)

    Hello.

    Enable this option DEFENCE – Disable XML-RPC

    Thread Starter koolpal

    (@koolpal)

    @webtemyk

    Thank you for replying.

    Can you please recheck? I do not think Disable Self Pingbacks is the SAME as Disable XML-RPC

    Thanks

    Temyk

    (@webtemyk)

    Where is this option in the plugin? Disable Self Pingbacks

    Thread Starter koolpal

    (@koolpal)

    @webtemyk It looks like this option does not seem to be available. I am looking for this feature.

    Some info here: https://perfmatters.io/docs/disable-self-pingbacks-wordpress/

    The code used in this plugin is

    /* Disable Self Pingbacks
    /***********************************************************************/
    if(!empty($perfmatters_options['disable_self_pingbacks']) && $perfmatters_options['disable_self_pingbacks'] == "1") {
    	add_action('pre_ping', 'perfmatters_disable_self_pingbacks');
    }
    
    function perfmatters_disable_self_pingbacks(&$links) {
    	$home = get_option('home');
    	foreach($links as $l => $link) {
    		if(strpos($link, $home) === 0) {
    			unset($links[$l]);
    		}
    	}
    }

    Thanks

    Thread Starter koolpal

    (@koolpal)

    Hi,

    If it helps, https://ww.wp.xz.cn/plugins/wpo-tweaks/ has the option to Disable Self Pingbacks

    Please check what code are they using.

    Thanks a lot

    Temyk

    (@webtemyk)

    These options do the same thing in the end. But Clearfy completely disables the XML-RPC

    Thread Starter koolpal

    (@koolpal)

    OK. Thanks

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Disable Self Pingbacks?’ is closed to new replies.