hemerson321 Posted May 27, 2015 Report Share Posted May 27, 2015 (edited) Gostaria de colocar em uma api o meu campo personalizado exemplo: "name" => "teste", "name" => "<?php echo get_post_meta( $post->ID, 'nome', true ); ?>", abaixo segue o codigo completo: <?php require('routeros_api.class.php'); $API = new routeros_api(); $API->debug = true; if ($API->connect('192.168.36.1', 'admin', '987987')) { $API->comm("/ip/hotspot/user/add", array( "name" => "teste", "password" => "123", )); print_r($ARRAY); $API->disconnect(); } ?> Edited May 27, 2015 by hemerson321 Quote Link to comment Share on other sites More sharing options...
Question
hemerson321
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.