| @@ 3868-3881 (lines=14) @@ | ||
| 3865 | $screen_html = $help_html = ''; |
|
| 3866 | $screen_link = $help_link = ''; |
|
| 3867 | if ( !empty( $this->screen_options ) && !empty( $this->help ) ) { |
|
| 3868 | foreach ( $this->ui_page as $page ) { |
|
| 3869 | if ( isset( $this->screen_options[ $page ] ) ) { |
|
| 3870 | if ( is_array( $this->screen_options[ $page ] ) ) { |
|
| 3871 | if ( isset( $this->screen_options[ $page ][ 'link' ] ) ) { |
|
| 3872 | $screen_link = $this->screen_options[ $page ][ 'link' ]; |
|
| 3873 | break; |
|
| 3874 | } |
|
| 3875 | } |
|
| 3876 | else { |
|
| 3877 | $screen_html = $this->screen_options[ $page ]; |
|
| 3878 | break; |
|
| 3879 | } |
|
| 3880 | } |
|
| 3881 | } |
|
| 3882 | foreach ( $this->ui_page as $page ) { |
|
| 3883 | if ( isset( $this->help[ $page ] ) ) { |
|
| 3884 | if ( is_array( $this->help[ $page ] ) ) { |
|
| @@ 3882-3895 (lines=14) @@ | ||
| 3879 | } |
|
| 3880 | } |
|
| 3881 | } |
|
| 3882 | foreach ( $this->ui_page as $page ) { |
|
| 3883 | if ( isset( $this->help[ $page ] ) ) { |
|
| 3884 | if ( is_array( $this->help[ $page ] ) ) { |
|
| 3885 | if ( isset( $this->help[ $page ][ 'link' ] ) ) { |
|
| 3886 | $help_link = $this->help[ $page ][ 'link' ]; |
|
| 3887 | break; |
|
| 3888 | } |
|
| 3889 | } |
|
| 3890 | else { |
|
| 3891 | $help_html = $this->help[ $page ]; |
|
| 3892 | break; |
|
| 3893 | } |
|
| 3894 | } |
|
| 3895 | } |
|
| 3896 | } |
|
| 3897 | $screen_html = $this->do_hook( 'screen_meta_screen_html', $screen_html ); |
|
| 3898 | $screen_link = $this->do_hook( 'screen_meta_screen_link', $screen_link ); |
|