plugin_name); if (is_array($options)) {$options = $options[0];} // avoid undefined errors when running it for the first time : if (!isset($options["username"])) $options["username"] = ""; if (!isset($options["posting-key"])) $options["posting-key"] = ""; if (!isset($options["testnet-username"])) $options["testnet-username"] = ""; if (!isset($options["testnet-posting-key"])) $options["testnet-posting-key"] = ""; if (!isset($options["tags"])) $options["tags"] = ""; if (!isset($options["category"])) $options["category"] = ""; if (!isset($options["vote"])) $options["vote"] = "on"; if (!isset($options['template'])) $options['template'] = "{{content}}"; //$testnetuser = $options["testnet-username"]; //$testnetwif = $options["testnet-posting-key"]; //$testnetdata = array("body" => array("testnet" => "yes","author" => $testnetuser,"wif"=>$testnetwif)); //$steemuser = $options["username"]; //$steemwif = $options["posting-key"]; //$steemdata = array("body" => array("testnet" => "no","author" => $steemuser,"wif"=>$steemwif)); //$testnetresult = wp_remote_post("https://steempress.dm42.net/spress/testuser", $testnetdata); //$steemresult = wp_remote_post("https://steempress.dm42.net/spress/testuser", $steemdata); ?> Live STEEM Credentials: Ok - Your username and posting key have been verified."; } else { echo "FAILED: - Unable to verify your username and posting key. ERROR: "; if (isset($steemresults["error"])) { echo $steemresults["error"]; } } ?> "/> "/> TestNet Credentials: Ok - Your username and posting key have been verified."; } else { echo "FAILED: - Unable to verify your username and posting key. ERROR: "; if (isset($testnetresults["error"])) { echo $testnetresults["error"]; } } ?> "/> "/> "/> "/>

Steem Template (Available HTML tags)

NOTE: {{content}} must appear in your template, or your post content will not be sent to the Steem blockchain.

> Allow Voting
> Add original link to the steem article.