呼叫 Namespace 文件裡的 function
/**
* https://vector.cool
*/
Namespace VECTOR\COOL;
function test() {
    echo "Hello world!\n";
}
VECTOR\COOL\test();呼叫 Namespace 文件裡 class 中的 function
/**
* https://vector.cool
*/
namespace VECTOR\COOL;
class HELLO{
    static public function test() {
        echo "Hello world!\n";
    }
}
VECTOR\COOL\HELLO::test();在 WordPress Action 中呼叫
<?php
/**
* https://vector.cool
*/
Namespace VECTOR\COOL;
function test() { 
	echo "Hello world!\n"; 
}
add_action('init','VECTOR\COOL\test');參考資料:
http://php.net/manual/en/language.namespaces.nsconstants.php
