Style OR Script Enqueue Priority - mdhemalakhand1999/WordPressPluginDevelopment GitHub Wiki
We can set priority by set action hook priority
Example:public function __construct() {
$this->version = ASN_VERSION;
add_action("wp_enqueue_scripts", array($this, "load_front_assets"), 11);
add_action("admin_enqueue_scripts", array($this, "load_admin_assets"), 9);
}In this example, front_assets will load last and admin assets will load first.
Thats It. Congrats!