Wordpress plugins posting form or data to another Page in plugin
In this way we an call another page to show up completely of a plugin in case of searchboxes etc
<form id="mikex-settings" action="<?php echo plugins_url('update.php', __FILE__) ?>">
<label>Search Text:</label> <input name="search" value="<?php echo $options['search'] ?>" type="text" /><br />
<label>Replace Text:</label> <input name="replace" value="<?php echo $options['replace'] ?>" type="text" /><br />
<label>Replace Color</label> <input name="replace-color" value="<?php echo $options['replace-color'] ?>" type="text" /><br />
<label>Toggle Color:</label> <input name="toggle" value="<?php echo $options['toggle'] ?>" type="text" /><br />
<input type="submit" value="Update" /><span class="update-status"></span>
</form>
In this way we an call another page to show up completely of a plugin in case of searchboxes etc
Good article
ReplyDeletehttps://wordpress-special-plugin.blogspot.co.id