Avoid loading css from parent theme

In a parent theme (Foodica Pro) functions.php I have function foodica_scripts(), where css and js are loaded in page header, including: wp_enqueue_style( ‘media-queries’, get_template_directory_uri() . ‘/css/media-queries.css’, array(), WPZOOM::$themeVersion ); This media-queries.css will take a lot of work to overwrite (using different breakpoints). I want to avoid loading this css file, but without touching parent theme.…

How to pass the values of an array to another from bottom of the page to the top?

I know this is very simple and easy, but I am new to wordpress, php, and js. $classes = array(); array_push($classes, $match); foreach($classes as $names => $text ) { preg_match(‘/(.?)</strong>/s’, $sample, $match); preg_match(‘/(.?)</p>/s’, $sample, $match); echo $match[1]; I want to get the values of $match, which which is declared at the bottom and use it…