how to create custum plugin for wordpress

I am new to WordPress i am trying to create a plugin. i have created table and also saved value to it but now i want to create edit and pagination for that table i have search on google but cant find and tutorial.

<?php


add_action('admin_menu','custom_form');

function custom_form(){
add_menu_page("Fb meta Plugin","custom form",'administrator','insert-my-meta','my_custom_form', 'dashicons-format-video','90' );

add_action('admin_init','my_plugin_options');

function my_plugin_options(){
register_setting('meta-deta-group','active-meta-deta');
register_setting('meta-deta-group','default-image-url');
}

function my_custom_form(){
?>
<div class="wrap">

 </div>

 <?php
}


}

?>

Read more here: how to create custum plugin for wordpress

Leave a Reply

Your email address will not be published. Required fields are marked *