Changeset 2384420
- Timestamp:
- 09/18/2020 12:19:39 PM (6 years ago)
- Location:
- wp-admin-help-videos/trunk
- Files:
-
- 1 added
- 3 edited
-
assets/js/gutenberg-help.js (added)
-
includes/screen-help-class.php (modified) (3 diffs)
-
readme.txt (modified) (1 diff)
-
wp-admin-help-videos.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-admin-help-videos/trunk/includes/screen-help-class.php
r2384354 r2384420 4 4 5 5 public function __construct(){ 6 7 add_action( 'enqueue_block_editor_assets', function(){ 8 wp_enqueue_script('wpahv-help-toolbar', WPAHV_Plugin_URL.'assets/js/gutenberg-help.js', array(), '1.0', true ); 9 }); 10 6 11 add_action('in_admin_header', array($this, 'help_tabs')); 7 12 … … 15 20 16 21 public static function get_current_screen_array(){ 22 global $current_screen; 17 23 $screen = get_current_screen(); 18 24 return self::make_screen_array($screen); … … 77 83 } 78 84 } 85 86 // this is for gutenberg videos, poped up via js 87 echo "<div id='rw-gberg-help-content' style='display:none;'>".$content."</div>"; 88 79 89 } 80 90 -
wp-admin-help-videos/trunk/readme.txt
r2384354 r2384420 55 55 == Changelog == 56 56 57 = 1.0.2 = 58 * Show help tab on gutenberg editor 59 57 60 = 1.0.1 = 58 61 * Show help tab when hidden -
wp-admin-help-videos/trunk/wp-admin-help-videos.php
r2384354 r2384420 7 7 * Author URI: raiserweb.com 8 8 * 9 * Version: 1.0. 19 * Version: 1.0.2 10 10 * 11 11 * Text Domain: help-videos, admin-video, training-video … … 39 39 40 40 public function __construct() { 41 42 define('WPAHV_Plugin_URL', plugin_dir_url(__FILE__)); 41 43 42 44 include_once(trailingslashit( dirname( __FILE__ ) ).'/includes/video-upload-class.php');
Note: See TracChangeset
for help on using the changeset viewer.