WordPress oop plugin developing, Call function error!
-
My plugin based on OOP.
So when i call a function, It gives Error.Example:
<?php namespace Trueniu\Cloudfront; class Invalidate { public function example(){ $response = wp_remote_post([...]); } }Error msaage:
Error: Call to undefined function Trueniu\Cloudfront\wp_remote_post()How to fix it.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
The topic ‘WordPress oop plugin developing, Call function error!’ is closed to new replies.