<?php/** * @package WPSEO\Admin *//** * Generates and displays a section containing metabox tabs that have been added by other plugins through the * `wpseo_tab_header` and `wpseo_tab_content` actions. */classWPSEO_Metabox_Addon_Tab_SectionextendsWPSEO_Metabox_Tab_Section{/** * Applies the actions for adding a tab to the metabox. */publicfunctiondisplay_content(){?><divid="wpseo-meta-section-addons"class="wpseo-meta-section"><divclass="wpseo-metabox-tabs-div"><ulclass="wpseo-metabox-tabs"><?phpdo_action('wpseo_tab_header');?></ul></div><?phpdo_action('wpseo_tab_content');?></div><?php}/** * `WPSEO_Metabox_Addon_Section` always has "tabs", represented by registered actions. If this is not the case, * it should not be instantiated. * * @return bool */protectedfunctionhas_tabs(){returntrue;}}