Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.

LLMS_Abstract_Processor::save_data( array $data )

Persist data to the database related to the processor


Parameters Parameters

$data

(array) (Required) Data to save.


Top ↑

Return Return

(void)


Top ↑

Source Source

File: includes/abstracts/llms.abstract.processor.php

274
275
276
277
278
279
280
281
282
283
284
285
286
287
private function save_data( $data ) {
 
    // Merge the current data with all processor data.
    $all_data = wp_parse_args(
        array(
            $this->id => $data,
        ),
        get_option( 'llms_processor_data', array() )
    );
 
    // Save it.
    update_option( 'llms_processor_data', $all_data );
 
}


Top ↑

Changelog Changelog

Changelog
Version Description
3.15.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.