xmlrpc_call, wp.getMediaLibrary, $args, $this

xmlrpc_call, wp.getMediaLibrary, $args, $this

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('xmlrpc_call, wp.getMediaLibrary, $args, $this') is found 1 times:

  • /wp-includes/class-wp-xmlrpc-server.php line 4449
    			return new IXR_Error( 401, __( 'Sorry, you are not allowed to upload files.' ) );
    		}
    
    		/** This action is documented in wp-includes/class-wp-xmlrpc-server.php */
    		do_action( 'xmlrpc_call', 'wp.getMediaLibrary', $args, $this );
    
    		$parent_id = ( isset( $struct['parent_id'] ) ) ? absint( $struct['parent_id'] ) : '';
    		$mime_type = $struct['mime_type'] ?? '';
    		$offset    = ( isset( $struct['offset'] ) ) ? absint( $struct['offset'] ) : 0;
    		$number    = ( isset( $struct['number'] ) ) ? absint( $struct['number'] ) : -1;