Plugin Directory

Changeset 2793143


Ignore:
Timestamp:
10/02/2022 07:58:28 PM (4 years ago)
Author:
ebizinerco
Message:

1.3.0

Location:
ebiziner/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • ebiziner/trunk/ebiziner.php

    r2671845 r2793143  
    44* Plugin URI: https://www.ebizner.com/
    55* Description: This is a simple plugin for ebiziner customers.
    6 * Version: 1.2.0
     6* Version: 1.3.0
    77* Author: eBiziner
    88* Author URI: https://ebiziner.com/about-us/
     
    4646}
    4747
    48 
    49 /// dashboard widgets
    50 add_action('wp_dashboard_setup', 'ebiziner_dashboard_widgets');
    51  
    52 function ebiziner_dashboard_widgets() {
    53 global $wp_meta_boxes;
    54  
    55 wp_add_dashboard_widget('custom_help_widget', 'eBiziner Support', 'ebiziner_content_widgets');
    56 }
    57  
    58 function ebiziner_content_widgets() {
    59     echo "<img src='" . plugin_dir_url( __FILE__ ) . "assets/img/logo.png'>";
    60     echo '<hr style="border: 0; background-color: #182955; height: 1px;">';         
    61    
    62     $allowed_html = array(
    63     'a'      => array(
    64         'href'  => array(),
    65     ),
    66     'br'     => array(),
    67     'em'     => array(),
    68     'strong' => array(),
    69     );
    70 
    71     $response = wp_remote_get( 'https://ebiziner.com/wp-json/acf/v3/options/acf-options-ebiziner' );
    72     $jsonres = json_decode($response['body'], true);
    73 
    74     $result = $jsonres['acf']['post'];
    75     $ret = end($result);
    76     echo $ret['text'];
    77 
    78 }
  • ebiziner/trunk/readme.txt

    r2671845 r2793143  
    11==== eBiziner ====
    22Hello, This is a simple plugin for our customers. After each web project, we get install this plugin on the customer's website to make more services in the WordPress dashboard.
    3 Tested up to: 5.8.2
    4 Stable tag: 1.2.0
    5 Version: 1.2.0
     3Tested up to: 6.0.2
     4Stable tag: 1.3.0
     5Version: 1.3.0
    66License: GPLv2 or later
    77License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset for help on using the changeset viewer.