pepipost / wordpress-pepipost

1 stars 2 forks source link

Load scripts and styles only on plugin pages #4

Open djsheva opened 7 years ago

djsheva commented 7 years ago

No necessary to use is_admin() check because admin_enqueue_scripts granted this. Instead of this we checking that current page is related to pepipost plugin settings page. So, pepipost plugin scripts and styles will be loaded only in place where they really needed.