modules/contact-form/grunion-editor-view.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 18-21 (lines=4) @@ | 
                                                            
                                    | 15 |  | 	 * @param WP_Screen $screen Data about current screen. | 
                                                            
                                    | 16 |  | 	 */ | 
                                                            
                                    | 17 |  | 	public static function add_hooks( $screen ) { | 
                                                            
                                    | 18 |  | 		if ( isset( $screen->base ) && 'post' === $screen->base ) { | 
                                                            
                                    | 19 |  | 			add_action( 'admin_notices', array( __CLASS__, 'handle_editor_view_js' ) ); | 
                                                            
                                    | 20 |  | 			add_action( 'admin_head', array( __CLASS__, 'admin_head' ) ); | 
                                                            
                                    | 21 |  | 		} | 
                                                            
                                    | 22 |  | 	} | 
                                                            
                                    | 23 |  |  | 
                                                            
                                    | 24 |  | 	public static function admin_head() { | 
                                                                        
                 
                                                            
                    
modules/shortcodes/wordads.php 1 location
                
                
                    
                                                
                                                    
                                |  | @@ 28-31 (lines=4) @@ | 
                                                            
                                    | 25 |  | 	 * @param WP_Screen $screen Data about current screen. | 
                                                            
                                    | 26 |  | 	 */ | 
                                                            
                                    | 27 |  | 	public static function add_hooks( $screen ) { | 
                                                            
                                    | 28 |  | 		if ( isset( $screen->base ) && 'post' === $screen->base ) { | 
                                                            
                                    | 29 |  | 			add_action( 'admin_notices', array( __CLASS__, 'handle_editor_view_js' ) ); | 
                                                            
                                    | 30 |  | 			add_action( 'admin_head', array( __CLASS__, 'admin_head' ) ); | 
                                                            
                                    | 31 |  | 		} | 
                                                            
                                    | 32 |  | 	} | 
                                                            
                                    | 33 |  |  | 
                                                            
                                    | 34 |  | 	/** |