get_section_data() публичный статический Метод

Get section content for the addons screen.
public static get_section_data ( string $section_id ) : array
$section_id string
Результат array
"><?php 
        echo esc_html($section->title);
        ?>
</a><?php 
        if ($section_id !== end($section_keys)) {
            echo ' |';
        }
        ?>
</li>
			<?php 
    }
    ?>
		</ul>
		<br class="clear" />
		<?php 
    if ($addons = WC_Admin_Addons::get_section_data($current_section)) {
        ?>
			<ul class="products">
			<?php 
        foreach ($addons as $addon) {
            ?>
				<li class="product">
					<a href="<?php 
            echo esc_attr($addon->link);
            ?>
">
						<?php 
            if (!empty($addon->image)) {
                ?>
							<img src="<?php 
                echo esc_attr($addon->image);
    ?>
		</ul>
		<br class="clear" />
		<?php 
    if ('featured' === $current_section) {
        ?>
			<div class="addons-featured">
				<?php 
        $featured = WC_Admin_Addons::get_featured();
        ?>
			</div>
		<?php 
    }
    ?>
		<?php 
    if ('featured' !== $current_section && ($addons = WC_Admin_Addons::get_section_data($current_section))) {
        ?>
			<ul class="products">
			<?php 
        foreach ($addons as $addon) {
            ?>
				<li class="product">
					<a href="<?php 
            echo esc_attr($addon->link);
            ?>
">
						<?php 
            if (!empty($addon->image)) {
                ?>
							<img src="<?php 
                echo esc_attr($addon->image);