Title: Function Call in Shortcode
Last modified: August 28, 2020

---

# Function Call in Shortcode

 *  Resolved [ibrahimoo](https://wordpress.org/support/users/ibrahimoo/)
 * (@ibrahimoo)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/function-call-in-shortcode/)
 * Hi,
 * How feasible to make your plugin supports call for a custom function in the template?
   
   Something like: `[my_function_get_data({my_field})]` Expecting that the custom
   function is defined in theme’s functions.php file.
 * Hope this makes sense.
 * Thanks
    Ibrahim
    -  This topic was modified 5 years, 7 months ago by [ibrahimoo](https://wordpress.org/support/users/ibrahimoo/).

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Plugin Author [Dmitry V. (CEO of “UKR Solution”)](https://wordpress.org/support/users/ukrsolution/)
 * (@ukrsolution)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/function-call-in-shortcode/#post-13338483)
 * Dear Ibrahim,
 * Could you please provide more information on which data you would like to pull?
   
   Which way they were added to products. Our plugin supports any custom fields,
   attributes, taxonomy, and other product data.
 * I’m looking forward to hearing from you.
 * Kind regards,
    Natalia
 *  Thread Starter [ibrahimoo](https://wordpress.org/support/users/ibrahimoo/)
 * (@ibrahimoo)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/function-call-in-shortcode/#post-13338648)
 * Hi Natalia,
 * I use a plugin that stores supplier Id in the same place as “products” but supplier
   name is stored in a different custom table in the database.
    I’m wondering if
   a custom function can be used here to pull “supplier name” via supplier id.
 * Thanks in advance.
    -  This reply was modified 5 years, 7 months ago by [ibrahimoo](https://wordpress.org/support/users/ibrahimoo/).
 *  Plugin Author [Dmitry V. (CEO of “UKR Solution”)](https://wordpress.org/support/users/ukrsolution/)
 * (@ukrsolution)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/function-call-in-shortcode/#post-13338927)
 * Dear Ibrahim,
 * Could you please let me know which plugin do you use for suppliers?
    We support
   suppliers that can be created with the Woocomerce addon. Please check if the 
   suppliers page available by this URL /wp-admin/edit-tags.php?taxonomy=your_taxonomy
   on your side. If yes then you can use the next shortcode [taxonomy=your_taxonomy]
   and pull suppliers’ names.
 * _
    Kind regards, Natalia
 *  Thread Starter [ibrahimoo](https://wordpress.org/support/users/ibrahimoo/)
 * (@ibrahimoo)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/function-call-in-shortcode/#post-13339684)
 * Hi Natalia,
 * I use [ATUM Inventory Management](https://wordpress.org/plugins/atum-stock-manager-for-woocommerce/).
   As I noticed, supplier name is stored in a custom-made table.
 * Thanks in advance.
 *  Plugin Author [Dmitry V. (CEO of “UKR Solution”)](https://wordpress.org/support/users/ukrsolution/)
 * (@ukrsolution)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/function-call-in-shortcode/#post-13343015)
 * Dear Ibrahim,
 * Our plugin doesn’t support ATUM plugin’s tables.
    We can add the possibility 
   to call for a custom function in the template in one of the future releases.
 * If you have any additional questions or suggestions – just let me know.
    I will
   be glad to help you with this.
 * _
    Kind regards, Natalia
 *  Thread Starter [ibrahimoo](https://wordpress.org/support/users/ibrahimoo/)
 * (@ibrahimoo)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/function-call-in-shortcode/#post-13345753)
 * Dear Natalia,
 * I’m glad to here that!
    Indeed, adding this functionality will add lots of flexibility
   to your plugin.
 * Kind regards
 *  Plugin Author [Dmitry V. (CEO of “UKR Solution”)](https://wordpress.org/support/users/ukrsolution/)
 * (@ukrsolution)
 * [5 years, 7 months ago](https://wordpress.org/support/topic/function-call-in-shortcode/#post-13348431)
 * Dear Ibrahim,
 * You are welcome!
 * _
    Kind regards Natalia
 *  Plugin Author [Dmitry V. (CEO of “UKR Solution”)](https://wordpress.org/support/users/ukrsolution/)
 * (@ukrsolution)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/function-call-in-shortcode/#post-13639268)
 * Closed

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Function Call in Shortcode’ is closed to new replies.

 * ![](https://ps.w.org/a4-barcode-generator/assets/icon-256x256.jpg?rev=2577813)
 * [Print Labels with Barcodes. Create price tags, product labels, order labels for WooCommerce](https://wordpress.org/plugins/a4-barcode-generator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/a4-barcode-generator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/a4-barcode-generator/)
 * [Active Topics](https://wordpress.org/support/plugin/a4-barcode-generator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/a4-barcode-generator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/a4-barcode-generator/reviews/)

 * 8 replies
 * 2 participants
 * Last reply from: [Dmitry V. (CEO of “UKR Solution”)](https://wordpress.org/support/users/ukrsolution/)
 * Last activity: [5 years, 5 months ago](https://wordpress.org/support/topic/function-call-in-shortcode/#post-13639268)
 * Status: resolved