HEX
Server: nginx/1.17.4
System: Linux hosting 4.9.0-11-amd64 #1 SMP Debian 4.9.189-3 (2019-09-02) x86_64
User: www (1001)
PHP: 7.4.19
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/pulitocucito.it/wp-content/themes/laundry-child/functions.php
<?php
/**
 * Child theme functions
 *
 * Functions file for child theme, enqueues parent and child stylesheets by default.
 *
 * @since    1.0
 */
// Exit if accessed directly.
if (!defined('ABSPATH')) {
    exit;
}
if (!function_exists('aa_enqueue_styles')) {
    // Add enqueue function to the desired action.
    add_action('wp_enqueue_scripts', 'aa_enqueue_styles');
    /**
     * Enqueue Styles.
     *
     * Enqueue parent style and child styles where parent are the dependency
     * for child styles so that parent styles always get enqueued first.
     *
     * @since 1.0
     */
    function aa_enqueue_styles()
    {
        // Parent style variable.
        $parent_style = 'parent-style';
        // Enqueue Parent theme's stylesheet.
        wp_enqueue_style($parent_style, get_template_directory_uri() . '/style.css');
        // Enqueue Child theme's stylesheet.
        // Setting 'parent-style' as a dependency will ensure that the child theme stylesheet loads after it.
        wp_enqueue_style('child-style', get_stylesheet_directory_uri() . '/style.css', array($parent_style));
    }
}