Manages the links subsection

Adds support for link image and translations

author etessore
version 1.0.0

 Methods

Callback to modify the title field in the admin panel

custom_title(\unknown $input) : string | \unknown

Parameters

$input

\unknown

Returns

string\unknown

Retrieves the current instance

get_instance() : \LinksManager
Static

Returns

\LinksManagerthe current instance

Called by WordPress on init

init() 

Test if this feature is enabled

is_enabled() : boolean
Static

Returns

booleantrue if LinkManager is enabled

Register some custom post types and categories

register_custom_types() 

Register the link details metabox and removes some useless one

register_metaboxes() 
Static

Initializes default settings Singleton private constructor

__construct() 

 Properties

 

$instance : \LinksManager

 Constants

 

CUSTOM_LINKS_POST_TYPE

CUSTOM_LINKS_POST_TYPE