메소드 | 설명 | |
---|---|---|
__construct ( wpdb $wpdb, string $meta_key ) | Constructor. Sets up the properties. | |
delete_items_for_deleted_site ( integer $deleted_site_id ) : void | Deletes all remote MultilingualPress nav menu items linking to the (to-be-deleted) site with the given ID. |
public __construct ( wpdb $wpdb, string $meta_key ) | ||
$wpdb | wpdb | WordPress database wrapper object. |
$meta_key | string | Site ID meta key for nav_menu posts. |
public delete_items_for_deleted_site ( integer $deleted_site_id ) : void | ||
$deleted_site_id | integer | The ID of the to-be-deleted site. |
리턴 | void |