Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Admin_AddOns::get_current_section_content()

Retrieve addon data for the current section (tab) based off query string variables


Return Return

(array)


Top ↑

Source Source

File: includes/admin/class.llms.admin.addons.php

62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
private function get_current_section_content() {
 
    $sec = $this->get_current_section();
 
    $content = apply_filters( 'llms_admin_add_ons_get_current_section_default_content', array(), $sec );
 
    if ( ! $content ) {
 
        if ( 'all' === $sec ) {
            $content = $this->get_all();
        } elseif ( 'featured' === $sec ) {
            $content = $this->get_features();
        } else {
            $content = $this->get_products_for_cat( $sec );
        }
    }
 
    return apply_filters( 'llms_admin_add_ons_get_current_section_content', $content, $sec );
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.5.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.