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_Emails::get_parsed_table_style()

Returns an array with the table’s tags inline style


Description Description

It makes sure that all the required tags (table, tr, td) are set.


Top ↑

Return Return

(array) Array of table style.

  • (string) Style of the table tag.
  • '1'
    (string) Style of the tr tag.
  • '2'
    (string) Style of the td tag.


Top ↑

Source Source

File: includes/class.llms.emails.php

238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
private function get_parsed_table_style() {
 
    $table_style = $this->get_table_style();
    $table_style = is_array( $table_style ) ? $table_style : array( $table_style );
 
    $table_style = wp_parse_args(
        $table_style,
        array(
            'table' => '',
            'tr'    => '',
            'td'    => '',
        )
    );
 
    return array_values( $table_style );
 
}


Top ↑

Changelog Changelog

Changelog
Version Description
5.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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