wpmdb_upload_dir_name

wpmdb_upload_dir_name

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

See hook in core

Displaying hooks found in version: wp-migrate-db.2.6.9

apply_filters('wpmdb_upload_dir_name') is found 1 times:

  • /class/Common/Filesystem/Filesystem.php line 896
     
            $upload_info['path'] = $upload_dir['basedir'];
            $upload_info['url']  = $upload_dir['baseurl'];
    
            $upload_dir_name = apply_filters('wpmdb_upload_dir_name', 'wp-migrate-db');
    
            if (!file_exists($upload_dir['basedir'] . DIRECTORY_SEPARATOR . $upload_dir_name)) {
                $url = wp_nonce_url($props->plugin_base, 'wp-migrate-db-pro-nonce');
    
                // Create the directory.
    
    

See this hook used in plugins: