Méthode | Description | |
---|---|---|
__construct ( string $handle, string $meta_key, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce, |
Constructor. | |
get_ajax_menu_items ( ) : array | AJAX handler. | |
get_button_id ( ) : string | ||
get_list ( ) : array | ||
get_list_id ( ) : string | ||
has_menu ( ) : boolean | ||
is_allowed ( ) : boolean | Is the AJAX request allowed and should be processed? | |
load_script ( string $hook ) : void | ||
register_script ( ) : void |
Méthode | Description | |
---|---|---|
create_menu_item ( $titles, $blog_id ) : null | WP_Post | Insert item into database. | |
is_valid_blog_id ( array $titles, integer $blog_id ) : boolean | Check if a blog id is for a linked, existing blog. | |
prepare_menu_items ( array $titles ) : array | ||
set_menu_item_meta ( WP_Post $menu_item, integer $blog_id ) : WP_Post | Set item meta data. |
public __construct ( string $handle, string $meta_key, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce, |
||
$handle | string | |
$meta_key | string | |
$nonce | Inpsyde\MultilingualPress\Common\Nonce\Nonce | |
$asset_manager |
public is_allowed ( ) : boolean | ||
Résultat | boolean |