| @@ 3851-3864 (lines=14) @@ | ||
| 3848 | $screen_html = $help_html = ''; | |
| 3849 | $screen_link = $help_link = ''; | |
| 3850 |         if ( !empty( $this->screen_options ) && !empty( $this->help ) ) { | |
| 3851 |             foreach ( $this->ui_page as $page ) { | |
| 3852 |                 if ( isset( $this->screen_options[ $page ] ) ) { | |
| 3853 |                     if ( is_array( $this->screen_options[ $page ] ) ) { | |
| 3854 |                         if ( isset( $this->screen_options[ $page ][ 'link' ] ) ) { | |
| 3855 | $screen_link = $this->screen_options[ $page ][ 'link' ]; | |
| 3856 | break; | |
| 3857 | } | |
| 3858 | } | |
| 3859 |                     else { | |
| 3860 | $screen_html = $this->screen_options[ $page ]; | |
| 3861 | break; | |
| 3862 | } | |
| 3863 | } | |
| 3864 | } | |
| 3865 |             foreach ( $this->ui_page as $page ) { | |
| 3866 |                 if ( isset( $this->help[ $page ] ) ) { | |
| 3867 |                     if ( is_array( $this->help[ $page ] ) ) { | |
| @@ 3865-3878 (lines=14) @@ | ||
| 3862 | } | |
| 3863 | } | |
| 3864 | } | |
| 3865 |             foreach ( $this->ui_page as $page ) { | |
| 3866 |                 if ( isset( $this->help[ $page ] ) ) { | |
| 3867 |                     if ( is_array( $this->help[ $page ] ) ) { | |
| 3868 |                         if ( isset( $this->help[ $page ][ 'link' ] ) ) { | |
| 3869 | $help_link = $this->help[ $page ][ 'link' ]; | |
| 3870 | break; | |
| 3871 | } | |
| 3872 | } | |
| 3873 |                     else { | |
| 3874 | $help_html = $this->help[ $page ]; | |
| 3875 | break; | |
| 3876 | } | |
| 3877 | } | |
| 3878 | } | |
| 3879 | } | |
| 3880 | $screen_html = $this->do_hook( 'screen_meta_screen_html', $screen_html ); | |
| 3881 | $screen_link = $this->do_hook( 'screen_meta_screen_link', $screen_link ); | |