get_model() ->get_settings( $preference_key ); } public function set_user_preferences( $preference_key, $value ) { Manager::get_settings_managers( 'editorPreferences' ) ->get_model() ->set_settings( $preference_key, $value ); } public function is_new_installation() { return Upgrade_Manager::is_new_installation(); } public function add_query_arg( $args, $url ) : string { return add_query_arg( $args, $url ); } public function has_custom_logo() : bool { return has_custom_logo(); } public function current_user_can( $capability, $args ) : bool { return current_user_can( $capability, $args ); } public function get_post_status( $post_id ) : string { return get_post_status( $post_id ); } }