Functions

add_feed_dashboard_widgets

package

Default

« More »

add_welcome_dashboard_widget

package

Default

« More »

adminMenuReset

package

Default

Arguments

$menu

« More »

class_loader

package

Default

Arguments

$class

« More »

dashboard_feed_widget_function

package

Default

Arguments

$post

$callback_args

« More »

dashboard_welcome_message

package

Default

Arguments

$post

$callback_args

« More »

get_pegasus_image

package

Pegasus Framework

Arguments

$img

$url

$target

« More »

load_tgm_plugin_activation

Ensure only one instance of the class is ever invoked.

package

TGM-Plugin-Activation

since 2.5.0
« More »

megamenu_nav_edit_walker

package

Default

Arguments

$walker

$menu_id

« More »

megamenu_nav_item

package

Default

Arguments

$menu_item

« More »

megamenu_nav_update

package

Default

Arguments

$menu_id

$menu_item_db_id

$args

« More »

pegasus_image

package

Pegasus Framework

Arguments

$img

$url

$target

« More »

pegasus_print_css

package

Default

Arguments

$values

« More »

pegasus_register_required_plugins

Register the required plugins for this theme.

In this example, we register five plugins:

  • one included with the TGMPA library
  • two from an external source, one from an arbitrary source, one from a GitHub repository
  • two from the .org repo, where one demonstrates the use of the is_callable argument

The variables passed to the tgmpa() function should be:

  • an array of plugin arrays;
  • optionally a configuration array. If you are not changing anything in the configuration array, you can remove the array and remove the variable from the function call: tgmpa( $plugins );. In that case, the TGMPA default settings will be used.

This function is hooked into tgmpa_register, which is fired on the WP init action on priority 10.

package

TGM-Plugin-Activation

« More »

pegasus_sidebars

package

Default

« More »

remove_dashboard_widgets

package

Default

« More »

tgmpa

Helper function to register a collection of required plugins.

package

TGM-Plugin-Activation

since 2.0.0

Arguments

$plugins

array

An array of plugin arrays.

$config

array

Optional. An array of configuration values.

« More »

tgmpa_load_bulk_installer

Load bulk installer

package

TGM-Plugin-Activation

« More »

Constants

PEGASUS_URI

« More »

PEGASUS_DIR

« More »

PEGASUS_CHILD_DIR

« More »

PEGASUS_CHILD_URI

« More »

THEME_FB

« More »

THEME_TW

« More »

RSS_FEED

« More »

CLIENT_AREA

« More »

Classes, interfaces and traits

Pegasus_Menu

« More »

PegasusAdmin

« More »

PegasusCheckboxMenu

PegasusCheckboxMenu generates a checkbox in the admin menu Requires type = checkbox, name, id, desc, default

« More »

PegasusColorMenu

PegasusColorMenu - Generates a color option in the admin menu.

Requires type = color, desc, name, id, default

« More »

PegasusCopyrightMenu

PegasusCopyrightMenu - Generates a text form element on the admin menu Requires type = copyright, name, id, desc, default.

Accepts special text %year%, %site%, %copyright%

« More »

PegasusCsseditorMenu

PegasusCsseditorMenu - Generates a CSS editor in the admin options menu Requires type = cssEditor, name, id, desc, default

« More »

PegasusEditorMenu

PegasusEditorMenu generates WP editor in the admin area.

Requires type = editor, name, id, desc, default

« More »

PegasusEmailMenu

PegasusEmailMenu generates a email text box in the admin menu Requires type = email, name, id, desc, default

« More »

PegasusFontMenu

PegasusFontMenu generates the font option in the admin dashboard menu Requires type = font, name, id, desc, default

« More »

PegasusFramework

Pegasus primary class

« More »

PegasusHeaderMenu

PegasusHeaderMenu generates a heading in the admin dashboard options Requires type = header, name

« More »

PegasusHelper

Pegasus helper class to add additional functionality for overall theme theme development and styling.

« More »

PegasusImageMenu

PegasusImageMenu generates the image capture in the admin menu Requires type = image, name, id, desc, default

« More »

PegasusJseditorMenu

PegasusJseditorMenu generates a JS editor in the admin dashboard area Requires type = jsEditor, name, id, desc, default

« More »

PegasusMetaBoxGenerator

« More »

PegasusOptionsMenu

PegasusOptionsMenu generates an optional menu area that is displayed when the checkbox is enabled.

Requires type = options, name, id, desc, options, default

« More »

PegasusRadioMenu

PegasusRadioMenu generates radio buttons in the admin menu Requires type = radio, name, id, desc, default, options

« More »

PegasusSelectMenu

PegasusSelectMenu - Generates a select form element in on the admin menu The option requires type = select, name, id, desc, options, default

« More »

PegasusSelectpageMenu

PegasusSelectMenu generates a dropdown menu of pages that can be linked to as hyperlinks.

Requires type = selectPage, name, id, desc, default

« More »

PegasusSocialMenu

PegasusSocialMenu generates a dropdown of supported social media options.

Requires type = social, name, id, desc

« More »

PegasusSwitchMenu

PegasusSwitchMenu generates a swtich option between to items (e.g. Image logo and text logo) Requires type = switch, name, id, desc, default, text [array] - containing the names of each switch names, options [array] - An array of the fields to be added to the switches only two should be added.

« More »

PegasusTextareaMenu

PegasusTextareaMenu generates a textarea in the admin menu Requires type = textarea, name, id, desc, default

« More »

PegasusTextMenu

PegasusTextMenu generates a text box in the admin menu Requires type = text, name, id, desc, default

« More »

TGM_Bulk_Installer

Hack: Prevent TGMPA v2.4.1- bulk installer class from being loaded if 2.4.1- is loaded after 2.5+.

« More »

TGM_Bulk_Installer_Skin

Hack: Prevent TGMPA v2.4.1- bulk installer skin class from being loaded if 2.4.1- is loaded after 2.5+.

« More »

TGM_Plugin_Activation

Automatic plugin installation and activation library.

Creates a way to automatically install and activate plugins from within themes. The plugins can be either bundled, downloaded from the WordPress Plugin Repository or downloaded from another external source.

« More »

TGMPA_Bulk_Installer

Installer class to handle bulk plugin installations.

Extends WP_Upgrader and customizes to suit the installation of multiple plugins.

« More »

TGMPA_Bulk_Installer_Skin

Installer skin to set strings for the bulk plugin installations.

.

Extends Bulk_Upgrader_Skin and customizes to suit the installation of multiple plugins.

« More »

TGMPA_List_Table

List table class for handling plugins.

Extends the WP_List_Table class to provide a future-compatible way of listing out all required/recommended plugins.

Gives users an interface similar to the Plugin Administration area with similar (albeit stripped down) capabilities.

This class also allows for the bulk install of plugins.

« More »

TGMPA_Utils

Generic utilities for TGMPA.

All methods are static, poor-dev name-spacing class wrapper.

Class was called TGM_Utils in 2.5.0 but renamed TGMPA_Utils in 2.5.1 as this was conflicting with Soliloquy.

« More »

Walker_Nav_Menu_Edit_MegaMenu

Copied from Walker_Nav_Menu_Edit class in core

Create HTML list of nav menu input items.

« More »