In previous tutorial we developed a basic plugin that allowed us to use a shortcode. This tutorial will show you how to make basic administration panel in WordPress admin. We will make two fields, first will hold name of the image and the second will hold the image itself. Image adding will be done via WordPress native image upload interface.
function wp_myCustomPlugin_install () {
$newoptions = get_option('mycustomplugin_options');
$newoptions['title'] = '';
$newoptions['image'] = '';
}
Comments
Post a Comment