fusion_sections = $this->args['sections']; // Add a filter to allow modifying the array. $this->fusion_sections = apply_filters( 'fusion_admin_options_injection', $this->fusion_sections ); self::$is_language_all = $this->args['is_language_all']; add_action( 'update_option_' . $this->args['option_name'], [ $this, 'option_name_settings_update' ], 10, 3 ); $this->key = $this->args['option_name']; $version = $this->args['version']; $version_array = explode( '.', $version ); if ( isset( $version_array[2] ) && '0' === $version_array[2] ) { $version = $version_array[0] . '.' . $version_array[1]; } $this->ver = $version; } }