-
-
Save nayemDevs/b2dd4b81d343220d90a1 to your computer and use it in GitHub Desktop.
Add extra menu in Settings menu in Dokan Dashboard
Hi @nayemDevs,
How can I save newly created form fields? Is there any hook or some other method available? I need to save a form field via ajax
.
I am talking about this form
add_action( 'dokan_render_settings_content', 'dokan_render_settings_content', 10 );
function dokan_render_settings_content( $query_vars ) {
if ( isset( $query_vars['settings'] ) && $query_vars['settings'] == 'nayem' ) {
?>
<form action="">
<label for="">Text</label>
<input type="text">
</form>
<?php
}
}
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks. It's really helpful.