Folowing on Milo’s comment, do_shortcode expects the parameter to be exactly as if it is a shortcode inserted as part of the content, therefor your attempt to quote avatar_upload is just wrong and it should be do_shortcode('[avatar_upload]');
In addition it is probably better to just avoid using do_shortcode and call the relevant official API, if the plugin has one, directly, especially since shortcode might be processed differently based on context, in a way that might not match your needs.
Related Posts:
- All shortcodes not working on custom theme
- Plugin Handle URL With Custom Theme
- Where are theme codes located for WordPress?
- How to activate a plugin on the activation of a theme?
- Override/ignore CSS from active theme as not to interfere with my custom CSS
- Load CSS files in header of Bones theme?
- how to display a template.php in a shortcode
- Image path in childs theme
- do_shortcodes() isn’t working
- WP Customer Reviews call short code on another page [closed]
- to perform the requested action wordpress needs to access your web server. please enter your ftp
- Hide prices and checkout functionality in woocommerce
- How do I exclude plugins from getting automatically updated?
- How can I create a bash install script for my WordPress sites setup (WP+plugins+theme)?
- PHP Deprecated: Non-static method should not be called statically
- Loading shortcode with ajax
- Which hook callback has priority if both plugin and theme use the same hook?
- How to pass multiple values in shortcode?
- Calling function from within functions.php returns unwanted value
- plugin shortcodes not working on custom theme- unsure how to fix
- Force wordpress to request for FTP Info on theme/plugin install/update
- Nested shortcodes
- Override the core function locate_template
- How Can I Pass the Shortcode’s $atts Variable to the Plugin’s Javascript Function
- WordPress 5 upgrade: until when is it safe to keep project running in 4.x?
- May i Use ShortCode in Template?
- ‘Customize’ button in admin bar for CSS
- Uncode theme content block header ignoring saved changes/not updating?
- Theme and plugin install or update display error in localhost
- Reduce Drop down Menu Width in WordPress
- How can I create a custom shortcode that will return a custom post type by ID?
- AddToAny shortcode in the loop
- Making a Template for a CPT created by a plugin
- Create custom registration form for WordPress Multisite
- Classified ad website : which solutions to use? [closed]
- posts comments goes to trash
- Advanced Custom Field DatePicker [closed]
- What will happen if i deactivate my visual composer plug in? [closed]
- Finding the URL to be used to check if plugin is installed with a theme
- Creating shortcodes in plugin
- WordPress 3.8.3. custom theme – sliders won’t load js/css files
- Inject HTML meta tag inside wordpress tag using add_shortcode
- “No Add Button” for me to customize my WordPress with themes and pluggins
- How can I list all installed plugins/themes/versions from CLI/API?
- My plugin won’t return anything [closed]
- Shortcode to update user meta
- Why does my file_exist check fail?
- Why am I unable to load scripts in head in plugin?
- Where to find the code used to render a page that has a shortcode and a template defined?
- how can I do something on new user registration?
- convert more tag to shortcode
- Making that Admin Bar transparent or a blue color
- how to activate a plugin inside a theme
- There has been a critical error on your website – won’t fix no matter what
- To perform the requested action, WordPress needs to access your web > server
- How to use template inside plugin shortcode with variables for big HTML code
- Override css rules of a plugin within my own theme
- I want to use wordpress themes and plugin to develop website
- Shortcode and variable
- How can I achieve this, using shortcodes
- WP e-Commerce Gold Cart with Plugin Built Into Theme
- Per theme plugins?
- Creating New Dynamic Fields for a Certificate (Number Generation, Code Referencing, and more)
- Edit all $wp_scripts at once to $in_footer = false
- In Multisite Setups, how to update mass sections of sub-sites
- elementor development – custom widget like an inner section widget
- Bash script to check available updates
- WordPress fresh installation did not update default plugin and themes to latest version
- How to store a custom theme and update it on other installations
- WordPress panel is not loading after plugin activated with error: HTTP ERROR 500
- Cron job emails blank
- How to add HTML to a template only when user is logged out/ not registered
- How can I add a custom checkbox / radio button on the admin theme options to display a CSS or other?
- wp_login_form() ignoring login_form action hook
- How to pass value to a plugins shortcode?
- Is it possible to get a shortcode generated by a plugin, then, using a function, create a new post using that shortcode?
- How to fix On “An unexpected error occurred” message when I click on Add new theme or plugin?
- How to display post by date written (1974) and not date published (today)?
- Hide some shortcodes on posts from back-end
- Trouble implementing python on WordPress
- Images is not showing after migration
- How to display single arbitrary facebook post with a shortcode?
- Custom shortcode with dynamic rewrite
- Child Theme Changes Are Not Reflecting In Parent Theme
- Input gets deleted/overwritten after changing to different Admin Menu
- Theme specific plugin, how?
- Run WP inside a other Site without using frames
- Display static pages instead of category, in code
- Theme causing SSL break on chrome
- Divi Template A Few Questions
- Trying to use wp_register_script/style and enqueu them from an array – getting an error [duplicate]
- Subtract Using GravityWP Count Plugin
- Real estate schema markup not showing up on Rich Results test
- qTranslate‑X is not translating all shortcodes
- Convert from Portfolio post to WooCommerce products [closed]
- Problem with a shortcode generating a error [closed]
- What’s the best way to update my WordPress theme to Elementor?
- Local WP site can’t locate plugins or theme
- WORDPRESS ,Can’t load image of post when sharing post via facebook [closed]
- Error 503 Service Unavailable and wp-json/tdw/save_css