wp_stateless_set_file_size

wp_stateless_set_file_size

Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wp-stateless.4.1.2

do_action('wp_stateless_set_file_size') is found 1 times:

  • /lib/classes/compatibility/polylang-pro.php line 150
     
                    $sizes = $data['sizes'] ?? [];
    
                    foreach ($sizes as $name => $size) {
                      do_action('wp_stateless_set_file_size', $id, $name, $size);
                    }
    
                    $meta = $data['meta'] ?? [];
    
                    foreach ($meta as $key => $value) {
                      do_action('wp_stateless_set_file_meta', $id, $key, $value);
    

See this hook used in plugins: