| @@ 3751-3764 (lines=14) @@ | ||
| 3748 | $screen_html = $help_html = ''; |
|
| 3749 | $screen_link = $help_link = ''; |
|
| 3750 | if ( !empty( $this->screen_options ) && !empty( $this->help ) ) { |
|
| 3751 | foreach ( $this->ui_page as $page ) { |
|
| 3752 | if ( isset( $this->screen_options[ $page ] ) ) { |
|
| 3753 | if ( is_array( $this->screen_options[ $page ] ) ) { |
|
| 3754 | if ( isset( $this->screen_options[ $page ][ 'link' ] ) ) { |
|
| 3755 | $screen_link = $this->screen_options[ $page ][ 'link' ]; |
|
| 3756 | break; |
|
| 3757 | } |
|
| 3758 | } |
|
| 3759 | else { |
|
| 3760 | $screen_html = $this->screen_options[ $page ]; |
|
| 3761 | break; |
|
| 3762 | } |
|
| 3763 | } |
|
| 3764 | } |
|
| 3765 | foreach ( $this->ui_page as $page ) { |
|
| 3766 | if ( isset( $this->help[ $page ] ) ) { |
|
| 3767 | if ( is_array( $this->help[ $page ] ) ) { |
|
| @@ 3765-3778 (lines=14) @@ | ||
| 3762 | } |
|
| 3763 | } |
|
| 3764 | } |
|
| 3765 | foreach ( $this->ui_page as $page ) { |
|
| 3766 | if ( isset( $this->help[ $page ] ) ) { |
|
| 3767 | if ( is_array( $this->help[ $page ] ) ) { |
|
| 3768 | if ( isset( $this->help[ $page ][ 'link' ] ) ) { |
|
| 3769 | $help_link = $this->help[ $page ][ 'link' ]; |
|
| 3770 | break; |
|
| 3771 | } |
|
| 3772 | } |
|
| 3773 | else { |
|
| 3774 | $help_html = $this->help[ $page ]; |
|
| 3775 | break; |
|
| 3776 | } |
|
| 3777 | } |
|
| 3778 | } |
|
| 3779 | } |
|
| 3780 | $screen_html = $this->do_hook( 'screen_meta_screen_html', $screen_html ); |
|
| 3781 | $screen_link = $this->do_hook( 'screen_meta_screen_link', $screen_link ); |
|