register_block_type_args

register_block_type_args

Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.5.2

apply_filters('register_block_type_args') is found 1 times:

  • /wp-includes/class-wp-block-type.php line 573
    		 *
    		 * @param array  $args       Array of arguments for registering a block type.
    		 * @param string $block_type Block type name including namespace.
    		 */
    		$args = apply_filters( 'register_block_type_args', $args, $this->name );
    
    		foreach ( $args as $property_name => $property_value ) {
    			$this->$property_name = $property_value;
    		}
    	}
    
    

See this hook used in plugins: