Title: Custom shortcode using functions.php
Last modified: September 9, 2025

---

# Custom shortcode using functions.php

 *  Resolved [hirenpadhiyar](https://wordpress.org/support/users/hirenpadhiyar/)
 * (@hirenpadhiyar)
 * [9 months ago](https://wordpress.org/support/topic/custom-shortcode-using-functions-php/)
 * Hi guy,
   I have query in better notification plugin is that when i try to make
   custom shortcode in my functions.php file it give error when i proceed to notification
   like i have set user role change time email send to user and when i change it,
   I get error of somthing went wrong. And i also using free version of it. thanks
   in advance.

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

 *  Plugin Author [Jack – BNFW](https://wordpress.org/support/users/voltronik/)
 * (@voltronik)
 * [9 months ago](https://wordpress.org/support/topic/custom-shortcode-using-functions-php/#post-18635321)
 * Hi [@hirenpadhiyar](https://wordpress.org/support/users/hirenpadhiyar/),
    Thanks
   for your message.
 * Can you provide details of the error you’re seeing?
 *  Thread Starter [hirenpadhiyar](https://wordpress.org/support/users/hirenpadhiyar/)
 * (@hirenpadhiyar)
 * [9 months ago](https://wordpress.org/support/topic/custom-shortcode-using-functions-php/#post-18635424)
 * There has been a critical error on this website. Please check your site admin
   email inbox for instructions. If you continue to have problems, please try the
   support forums.
 * this is error i get.
 *  Plugin Author [Jack – BNFW](https://wordpress.org/support/users/voltronik/)
 * (@voltronik)
 * [9 months ago](https://wordpress.org/support/topic/custom-shortcode-using-functions-php/#post-18636865)
 * Hi [@hirenpadhiyar](https://wordpress.org/support/users/hirenpadhiyar/),
    Ah,
   you’ll need to check your PHP logs to see what the critical error is. Without
   this information, I can’t help diagnose the issue with you to ascertain whether
   it is BNFW or something else.
 * Please post just the excerpt of the log with the critical error here when you
   have it.
 *  Plugin Author [Jack – BNFW](https://wordpress.org/support/users/voltronik/)
 * (@voltronik)
 * [8 months ago](https://wordpress.org/support/topic/custom-shortcode-using-functions-php/#post-18675838)
 * Closing due to inactivity. If you need further help with this, please feel free
   to re-open this thread.

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

The topic ‘Custom shortcode using functions.php’ is closed to new replies.

 * ![](https://ps.w.org/bnfw/assets/icon.svg?rev=2531573)
 * [Customize WordPress Emails and Alerts - Better Notifications for WP](https://wordpress.org/plugins/bnfw/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/bnfw/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/bnfw/)
 * [Active Topics](https://wordpress.org/support/plugin/bnfw/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/bnfw/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/bnfw/reviews/)

 * 5 replies
 * 2 participants
 * Last reply from: [Jack – BNFW](https://wordpress.org/support/users/voltronik/)
 * Last activity: [8 months ago](https://wordpress.org/support/topic/custom-shortcode-using-functions-php/#post-18675838)
 * Status: resolved