• Resolved qwepoian

    (@qwepoian)


    Hi (again) :),
    No I would like to use my custom shortode in description of the table. (when I use html it works, but need above option 😉 )
    Is it possible to add this feature with add_filter function?
    like

    add_filter('tablepress-table-description', 'do_shortcode');

    ?

    https://wordpress.org/plugins/tablepress/

Viewing 1 replies (of 1 total)
  • Plugin Author TobiasBg

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    There’s no direct filter hook for the description, but you could filter the full table output:

    add_filter( 'tablepress_table_output', 'do_shortcode' );

    Just add that to the PHP file where you define your Shortcode, or add it to the theme’s “functions.php”.

    Regards,
    Tobias

Viewing 1 replies (of 1 total)
  • The topic ‘Use own shortcode in description box’ is closed to new replies.