Function Reference: geodir_filesystem_notice

Summary

Output error message for file system access.

Description

Displays an admin message if the WordPress file system can’t be automatically accessed. Called via admin_init hook.

Package

GeoDirectory

Change Log

Since: 1.4.8

1.4.9 Added check to not run function when doing ajax calls.

Source File

geodir_filesystem_notice() is located in geodirectory-admin/admin_functions.php [Line: 3304]

Source Code

function geodir_filesystem_notice()
{   if ( defined( 'DOING_AJAX' ) ){return;}
    $access_type = get_filesystem_method();
    if ($access_type === 'direct') {
    } elseif (!defined('FTP_USER')) {
        ?>