芝麻web文件管理V1.00
编辑当前文件:/home4/randall/public_html/sl/wp-content/plugins/trx_utils/shortcodes/trx_optional/tooltip.php
"", // Common params "id" => "", "class" => "", "css" => "" ), $atts))); $output = '
' . do_shortcode($content) . '
' . ($title) . '
' . '
'; return apply_filters('lorem_ipsum_books_media_store_shortcode_output', $output, 'trx_tooltip', $atts, $content); } add_shortcode('trx_tooltip', 'lorem_ipsum_books_media_store_sc_tooltip'); } /* Register shortcode in the internal SC Builder -------------------------------------------------------------------- */ if ( !function_exists( 'lorem_ipsum_books_media_store_sc_tooltip_reg_shortcodes' ) ) { //add_action('lorem_ipsum_books_media_store_action_shortcodes_list', 'lorem_ipsum_books_media_store_sc_tooltip_reg_shortcodes'); function lorem_ipsum_books_media_store_sc_tooltip_reg_shortcodes() { lorem_ipsum_books_media_store_sc_map("trx_tooltip", array( "title" => esc_html__("Tooltip", 'trx_utils'), "desc" => wp_kses_data( __("Create tooltip for selected text", 'trx_utils') ), "decorate" => false, "container" => true, "params" => array( "title" => array( "title" => esc_html__("Title", 'trx_utils'), "desc" => wp_kses_data( __("Tooltip title (required)", 'trx_utils') ), "value" => "", "type" => "text" ), "_content_" => array( "title" => esc_html__("Tipped content", 'trx_utils'), "desc" => wp_kses_data( __("Highlighted content with tooltip", 'trx_utils') ), "divider" => true, "rows" => 4, "value" => "", "type" => "textarea" ), "id" => lorem_ipsum_books_media_store_get_sc_param('id'), "class" => lorem_ipsum_books_media_store_get_sc_param('class'), "css" => lorem_ipsum_books_media_store_get_sc_param('css') ) )); } } ?>