wfls_xml_rpc_blocked

wfls_xml_rpc_blocked

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordfence.8.0.3

do_action('wfls_xml_rpc_blocked') is found 1 times:

  • /modules/login-security/classes/controller/wordfencels.php line 290
    286
    287
    288
    289
    290
    291
    292
    293
    294
    295
    296
         * Fires just prior to blocking an XML-RPC request. After firing this action hook the XML-RPC request is blocked.
         *
         * @param int $source The source code of the block.
         */
        do_action('wfls_xml_rpc_blocked', 2);
        return false;
    }
     
    private function has_woocommerce() {
        return class_exists('woocommerce');
    }

See this hook used in plugins: