How to call php file in theme directory from plugin

I resolved my issue. My error came from both calling the php file from the wordpress theme and converting the html code to an object value so that jquery ajax interprets it as it should. $tmpdir = get_template_directory() . ‘/ajax_user.php’; $resumeaccount = file_get_contents($tmpdir); So I get Html content inside singles quote (value object) instead of … Read more

Can’t save changes or modify settings in Dashboard but Pages and Posts are fine

Figured it out. In an attempt to optimize Astra theme’s performance, I modified the PHP settings in cPanel > MultiPHP INI Editor based on recommendations online. However, I wasn’t careful enough with my changes. I had neglected to include M in post_max_size, using only a number. 😐 After adding it, everything started to work correctly … Read more