Plugin Directory

Changeset 2792745

Timestamp:
10/01/2022 02:54:51 AM (22 months ago)
Author:
newfiesoft
Message:

Fix bug after update in version 1.0.2

File:
1 edited

Legend:

Unmodified
Added
Removed
  • my-style-anytime/tags/1.0.1/my-style-anytime.php

    r2787819 r2792745  
    88Description: This WordPress plugin helps you to create and customize Front-end <strong>(public view)</strong> and Back-end <strong>(wp-admin)</strong> style views using the user's type of rules. At the same time, you can do responsive design on the same CSS file rule. <strong># Lite Version</strong>
    99
    10 Version: 1.0.1
     10Version: 1.0.
    1111Author: NewfieSoft
    1212Author URI: https://www.newfiesoft.com
    1313Donate link: https://newfiesoft.com/donate
     14
     15
    1416
    1517License: GPLv2 or later
     
    1719*/
    1820
     21
     22
     23
    1924add_action('admin_enqueue_scripts', 'mysat_plugin_core_style');
    20 
    21 add_action('admin_menu', 'mysat_active_admin_menu');
    22 
    2325
    2426function mysat_plugin_core_style()
     
    2830
    2931// This configure menu name and sub names.
     32
     33
    3034function mysat_active_admin_menu()
    3135{
     
    3943    );
    4044
    41     add_submenu_page(
     45    add_submenu_page(
    4246        'my-style-anytime', // ID
    4347        'General',
     
    4852    );
    4953
    50     add_submenu_page(
     54    add_submenu_page(
    5155        'my-style-anytime', // ID
    5256        'Manage',
     
    5761    );
    5862
    59     add_submenu_page(
     63    add_submenu_page(
    6064        'my-style-anytime', // ID
    6165        'Help',
     
    6468        'help', // Your menu URL slug
    6569        static function () { // callback function
    66             include "help/help.php";
     70            e "help/help.php";
    6771        }
    6872    );
     
    7478    ?>
    7579
    76     <div class="el-license-container">
    77         <h3 class="el-license-title" style="margin:0;"><i class="dashicons dashicons-info-outline"></i> Information
     80    <div class="license-container">
     81        <h3 class="license-title" style="margin:0;"><i class="dashicons dashicons-info-outline"></i> Information
    7882        </h3>
    7983        <hr>
     
    9397    <div class="power-by-info" style="width: 98%;text-align: right;">Premium Tools for WordPress made by <a
    9498                href="https://www.newfiesoft.com" target="_blank">NewfieSoft</a> with <img draggable="false" role="img"
    95                                                                                            class="emoji"
    96                                                                                            alt="❤️"
     99                                                                                           class="emoji" alt="❤"
    97100                                                                                           src="https://s.w.org/images/core/emoji/14.0.0/svg/2764.svg">
    98101        in Zürich, Switzerland.
     
    103106}
    104107
    105 require_once __DIR__ . '/includes/class-mysat-global.php';
     108require_once __DIR__ . '/includes/class-mysat-surpl.php';
     109
     110// This help to create additional button after Plugin it is activated Installed Plugins list
     111add_filter('plugin_action_links_' . plugin_basename(__FILE__), 'mysat_custom_link_options_plugin', 10, 2);
     112
     113function mysat_custom_link_options_plugin($actions): array
     114{
     115
     116    // Build URL Links
     117    $settings = esc_url(add_query_arg('page', 'my-style-anytime', get_admin_url() . 'admin.php'));
     118    $getpro = esc_url(add_query_arg('', '', 'https://newfiesoft.com/wp-plugins/my-style-anytime/'));
     119
     120    // Links name
     121    $support_name ='Settings';
     122    $getpro_name ='Get Premium';
    106123
    107124
     125
     126
     127
    108128
     129
     130
     131
     132
     133
     134
     135
     136
     137
     138
     139
     140
     141
     142
     143
     144
     145
     146
     147
     148
     149
     150
     151
     152
     153
     154
     155
     156
     157
     158
     159
     160
     161
     162
     163
     164
Note: See TracChangeset for help on using the changeset viewer.