testerteej
Forum Replies Created
-
Forum: Plugins
In reply to: [Async JavaScript] Inline scripts from plugins seems not detectedI have no way to defer these inline scripts execution in another manner as they are from plugins.
I guess the problem then lies on the other plugins not putting their javascript codes as a file.
Thanks for the reply Frank.
Forum: Plugins
In reply to: [Redirection] Rest API redirection update status disabled not workingHi John,
I have found that it works by doing it this way:
$request = new WP_REST_Request( 'POST', '/redirection/v1/bulk/redirect/delete'); $request->set_param( 'items', $shortUrlID); $response = rest_do_request( $request );Thanks a lot!
Regards,
TeejForum: Plugins
In reply to: [Redirection] Rest API redirection update status disabled not workingHi John,
is the Rest API guide somehow not up to date?
I noticed that the request response data, in particular the “status” field has been changed to “enabled=true”.
I am wondering how to correctly update the status of redirection item via rest API.
- This reply was modified 5 years, 11 months ago by testerteej.
Forum: Plugins
In reply to: [Redirection] As a url shortener?Thanks a lot, great plugin!
Forum: Plugins
In reply to: [Redirection] As a url shortener?Hi thanks for the reply, next question for me is there some hooks or functions where I can programmatically create Redirection items? For example, during a post creation then automatically create a redirect for it… a shorturl version.
Is that possible?