Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
namespace WP_Plugin_Name\Inc\Admin;
use WP_Plugin_Name\Inc\Common\CommonClass;
class Admin{
function foo(){
$common = new CommonClass();
$result = $common->commonFunction();
namespace WP_Plugin_Name\Inc\Common;
class CommonClass {
public function commonFunction(){
return null;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.