| Server IP : 127.0.1.1 / Your IP : 127.0.0.1 Web Server : Apache/2.4.52 (Ubuntu) System : Linux sealall 5.15.0-179-generic #189-Ubuntu SMP Tue May 5 18:20:56 UTC 2026 x86_64 User : devops ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/domains/sealall.ca/wp-content/plugins/automaticcss-plugin/classes/Features/ |
Upload File : |
<?php
/**
* Automatic.css Base Feature class file.
*
* @package Automatic_CSS
*/
namespace Automatic_CSS\Features;
use Automatic_CSS\Model\Database_Settings;
/**
* Base Feature class.
*/
class Base {
// TODO: this class is currently empty, but we plan to use it in the future.
// Meanwhile, Feature PHP files should extend it.
/**
* Check if user has admin permission or builder full access.
* Useful for check if we can enqueue assets for the feature
*
* @return bool
*/
public function has_user_full_access() {
return \Automatic_CSS\Helpers\Permissions::current_user_has_full_access();
}
}