Changeset 1574584
- Timestamp:
- 01/14/2017 11:51:54 AM (9 years ago)
- Location:
- tawkto-manager/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
tawktomanager.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tawkto-manager/trunk/readme.txt
r1563816 r1574584 3 3 Tags: tawkto,Chat Widget,live chat,plugin 4 4 Requires at least: 2.9 5 Tested up to: 4.7 6 Stable tag: 2.0. 45 Tested up to: 4.7.1 6 Stable tag: 2.0.5 7 7 8 8 Tawk.To Manager adds visibility control for tawk.to chat with a shortcode (posts/pages/front page) and more options to hide & show. … … 55 55 56 56 == Changelog == 57 = 2.0.5 = 58 * Update to fix bug with WordPress 4.7 and higher. 59 57 60 = 2.0.4 = 58 61 * Mayor update to plugin code and added visibility option to hide the chat window for user with the role subsciber. Code overhaul to take up less memery and faster load times. -
tawkto-manager/trunk/tawktomanager.php
r1421956 r1574584 7 7 Description: Tawk.To Manager enables extensive visibility control for tawk.to chat with a shortcode for post and pages and extra display options for the front page, category and tag pages and for administrators and subscribers. 8 8 Author: Daniël Mulder 9 Version: 2.0. 49 Version: 2.0.5 10 10 Author URI: http://www.omnileads.nl/daniel-mulder-all-star/ 11 11 */ … … 50 50 protected static function __register_settings(){ 51 51 /** register wp settings */ 52 register_setting( 'ttm_tawkto_manager_plugin_options', array(__CLASS__, 'ttm_tawktoscript' ) ); 53 register_setting( 'ttm_tawkto_manager_plugin_options', array(__CLASS__, 'ttm_show_always' ) ); 54 register_setting( 'ttm_tawkto_manager_plugin_options', array(__CLASS__, 'ttm_show_front_page' ) ); 55 register_setting( 'ttm_tawkto_manager_plugin_options', array(__CLASS__, 'ttm_show_cat_pages' ) ); 56 register_setting( 'ttm_tawkto_manager_plugin_options', array(__CLASS__, 'ttm_show_tag_pages' ) ); 57 register_setting( 'ttm_tawkto_manager_plugin_options', array(__CLASS__, 'ttm_hide_admin' ) ); 58 register_setting( 'ttm_tawkto_manager_plugin_options', array(__CLASS__, 'ttm_hide_subscribers' ) ); 59 register_setting( 'ttm_tawkto_manager_plugin_options', array(__CLASS__, 'ttm_hide_not_subscriber' ) ); 52 $args = array('show_in_rest'=> '','type' =>'string','default' =>'',); 53 register_setting( 'ttm_tawkto_manager_plugin_options', 'ttm_tawktoscript', $args ); 54 register_setting( 'ttm_tawkto_manager_plugin_options', 'ttm_show_always', $args ); 55 register_setting( 'ttm_tawkto_manager_plugin_options', 'ttm_show_front_page', $args ); 56 register_setting( 'ttm_tawkto_manager_plugin_options', 'ttm_show_cat_pages', $args ); 57 register_setting( 'ttm_tawkto_manager_plugin_options', 'ttm_show_tag_pages', $args ); 58 register_setting( 'ttm_tawkto_manager_plugin_options', 'ttm_hide_admin', $args ); 59 register_setting( 'ttm_tawkto_manager_plugin_options', 'ttm_hide_subscribers', $args ); 60 register_setting( 'ttm_tawkto_manager_plugin_options', 'ttm_hide_not_subscriber', $args ); 60 61 } 61 62
Note: See TracChangeset
for help on using the changeset viewer.