Changeset 2793143
- Timestamp:
- 10/02/2022 07:58:28 PM (4 years ago)
- Location:
- ebiziner/trunk
- Files:
-
- 2 edited
-
ebiziner.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ebiziner/trunk/ebiziner.php
r2671845 r2793143 4 4 * Plugin URI: https://www.ebizner.com/ 5 5 * Description: This is a simple plugin for ebiziner customers. 6 * Version: 1. 2.06 * Version: 1.3.0 7 7 * Author: eBiziner 8 8 * Author URI: https://ebiziner.com/about-us/ … … 46 46 } 47 47 48 49 /// dashboard widgets50 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 1 1 ==== eBiziner ==== 2 2 Hello, 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.24 Stable tag: 1. 2.05 Version: 1. 2.03 Tested up to: 6.0.2 4 Stable tag: 1.3.0 5 Version: 1.3.0 6 6 License: GPLv2 or later 7 7 License URI: http://www.gnu.org/licenses/gpl-2.0.html
Note: See TracChangeset
for help on using the changeset viewer.