tableon()->get_field_options()
This function allows to get a column options of any table by table ID. Example:
1 | $column_options = tableon()->get_field_options($table_id, 'post_title') |
This function allows to get a column options of any table by table ID. Example:
1 | $column_options = tableon()->get_field_options($table_id, 'post_title') |
This function belongs to extension “Attachments” and get a post attachments by its ID as array.
This function allows to translate the plugin dynamic words using Vocabulary. Use this function in TABLEON extensions.
This is JavaScript variable for print popup window height. Define it on the site footer (wp_footer) like: var table23_print_window_height=800;
This is JavaScript variable for print popup window width. Define it on the site footer (wp_footer) like: var table23_print_window_width=800;
This is JavaScript variable for print popup window excluded columns. Define it on the site footer (wp_footer) like: var table23_do_not_print=[‘my_col1’, ‘my_col2’]; Example:
1 2 3 4 5 6 7 8 9 10 | add_action('wp_footer', function() { if (!is_page(array(377, 'Contact'))) { ?> <script> var table23_do_not_print= ['ask_me']; </script> <?php } }); |
This function returns drawn HTML tag with attributes and its content Example:
1 2 3 4 | return sprintf(TABLEON_Vocabulary::get('Find more posts %s'), TABLEON_HELPER::draw_html_item('a', [ 'href' => 'https://pluginus.net', 'target' => '_blank' ], TABLEON_Vocabulary::get('here'))); |
first param: tag name second param: tag attributes third param: tag content