plugins_api

plugins_api

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('plugins_api') is found 1 times:

  • /wp-admin/includes/plugin-install.php line 145
    141
    142
    143
    144
    145
    146
    147
    148
    149
    150
    151
    * @param false|object|array $result The result object or array. Default false.
     * @param string             $action The type of information being requested from the Plugin Installation API.
     * @param object             $args   Plugin API arguments.
     */
    $res = apply_filters( 'plugins_api', false, $action, $args );
     
    if ( false === $res ) {
     
        $url = add_query_arg(
            array(

See this hook used in plugins: