mirror of
https://github.com/10h30/display-featured-image-genesis.git
synced 2026-06-05 15:08:20 +09:00
Fix help tab array
This commit is contained in:
@@ -772,18 +772,16 @@ class Display_Featured_Image_Genesis_Settings {
|
||||
'content' => $feed_help,
|
||||
),
|
||||
);
|
||||
foreach ( $help_tabs as $tab ) {
|
||||
$screen->add_help_tab( $tab );
|
||||
}
|
||||
|
||||
if ( $this->post_types ) {
|
||||
$screen->add_help_tab( array(
|
||||
$help_tabs[] = array(
|
||||
'id' => 'displayfeaturedimage_cpt-help',
|
||||
'title' => __( 'Custom Post Types', 'display-featured-image-genesis' ),
|
||||
'content' => $cpt_help,
|
||||
) );
|
||||
);
|
||||
}
|
||||
foreach ( $help_tabs as $tab ) {
|
||||
$screen->add_help_tab( $tab );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user