LP

This class serves as the core class for the Launchpad plugin. Its primary role is to define and organize the functionality and features of the Launchpad plugin. It handles tasks such as loading dependencies, setting up hooks for both the admin and public-facing sides of the site, initializing the plugin, and defining various actions and filters.

Namespace

Launchpad

Source

File: \admin\class-launchpad.php

Usage

Developers can use this class as a foundation for building and extending the Launchpad plugin. They can add custom functionality by hooking into the provided actions and filters, creating new admin pages, views, sub-views, and field groups.

Methods

MethodsDescription
__construct()The constructor method initializes the plugin by setting the version and name, loading dependencies, defining hooks for admin and public areas, and initializing core hooks.
load_dependencies()Private method to load required dependencies such as utility functions, loader class, internationalization class, admin class, and more.
load_fields()Public method to load additional field-related files.
set_locale()Private method to set the plugin’s locale for internationalization.
define_hooks()Private method to define hooks related to the whole plugin.
define_admin_hooks()Private method to define hooks related to admin area functionality.
define_public_hooks()Private method to define hooks related to public-facing functionality.
define_core_hooks()Private method to define hooks related to core functionality.
init()Public method that initializes the Launchpad plugin completely.
set_admin_pages()Public method to set up and initialize Launchpad admin pages.
set_admin_views()Public method to set up and initialize Launchpad admin views.
set_admin_sub_views()Public method to set up and initialize Launchpad admin sub-views.
set_field_groups()Public method to set up and initialize field groups.
run()Public method to execute all registered hooks.
get_plugin_name()Public method to retrieve the plugin’s name.
get_loader()Public method to retrieve the loader instance.
get_version()Public method to retrieve the plugin’s version.

Related

This class is used to define and encapsulate the activation-related functionality of the Launchpad plugin.

This class is responsible for managing the admin-specific functionality of the Launchpad plugin.

This class serves as the core class for the Launchpad plugin.

This class is responsible for handling actions that should occur when the Launchpad plugin is deactivated.

This class plays a defining the model for various field types used within the Launchpad system.

This class plays a role in registering and managing actions and filters for the Launchpad plugin.

This class is used to define and handle group fields.

This class plays a role in managing the internationalization (i18n) of the Launchpad plugin.

This class plays a role in registering and managing actions and filters for the Launchpad plugin.