I think your syntax is wrong.
It should be [get_workhours({ID})].
Also press “Save Functions” button before previewing.
Related Posts:
- Fetching review value using wpdb class
- Front end/Database connection in WP
- Transaction when using WP functions rather than vanilla SQL?
- $wpdb->get_results(…) returns empty array despite correct query
- How to get the list of WooCommerce product image of a certain category from database?
- How to make WordPress plugin check for database changes and then do something?
- Alter query on edit.php
- How to auto login user again after change user_login
- How to display multiple Post meta_key/meta_values by SQL query
- How can I get an XML export of my 1K+ posts WordPress instance?
- Export User Info to CSV from Front End
- How to Join two tables from separate databases within WordPress
- count number of user comments with a specific comment meta value
- file_exists() acting weird
- Would manually deleting the dumping data fix a “#1062 – Duplicate entry ‘1’ for key ‘PRIMARY'” phpMyAdmin error?
- WPDB: how to get the value of a field in a custom database table
- Database “Migration” for Plugins?
- How can I export post data in xml format?
- my function doesn’t return my post from today
- Enhanced WordPress Search
- Automatically generate Post/Page from searched Database item?
- List of posts by day of the week
- Export WordPress Table to CSV from page
- register_activation_hook isn’t adding table to DB
- How to display posts of specific category using a custom Query in WordPress?
- What SQL / WordPress queries would need a nonce?
- How to limit the content coming from wordpress shortcodes?
- Renaming post IDs – Okay to do?
- How to generate page content from database the right way?
- Download full html page with CSV export plugin
- Is it best to avoid using $wpdb for security issues?
- WordPress ajax-action failing because of newline in response
- dynamic page using php from sql database
- Use $wpdb or other PHP script method to find/replace in WP database
- How to Update post_modified of all wordpress post
- Correct PHP to output a single result of a Function with SQL Query
- How can I add a new row in a separate database when someone registers via WordPress?
- Can’t upload CSV file to plugin directory using custom upload form in admin panel
- PHP -> SQL Query with Summing
- Lost in trying to create user database system
- Pull MySQL data from multiple tables and merge into 1 PHP array
- SOAP Request/Parsing XML From wp_send_json_success
- Filter results from a serialized string to use on statistics
- Creating custom page template from existing PHP site
- wordpress site – using custom database and PHP
- Searching Posts Programmatically in a WordPress Plugin
- Add valid XHTML closing img tags to WordPress galleries
- ‘pre_user_query’ interfering with user export
- Use variable in SQL statement
- Custom CSV exporter – Cannot modify header information – headers
- Why my query does not run with prepare
- wpdb getting avatars and author url
- mySQL queries are executed twice on wordpress website
- making php value numeric
- Using color schemes with Color Picker
- WordPress SQL JOIN query
- Remove password protection from all posts
- quotes problem in very simple sql
- wordpress sql posts query won’t display the latest post in a specific category
- Display latest post from WordPress Featured Category that is also in X,Y,or Z categories
- WP_Query: How to get results from both meta_key options?
- Export post data with xml to other site using php soap
- get_terms with specific id order
- Database SQL query error
- get different meta-data of a complicated query at the same time
- WordPress SQL Prepare
- Build A Custom SQL Query for WordPress Search
- How to run complex query using PHP
- Storing huge number of users in wordpress
- WordPress create custom XML RSS feed template
- add role on WordPress in PHP on a second database
- Trying to create a shortcode to display categories with a specific product tag
- Fetch Data from an external MSSQL Database in a Managed WP hosting
- Run a sql (update) after 12 hours after the user login. Woocommerce users
- Creating multiple tables with Plugin
- Custom User registration system
- How to use Multi SQL Database in WordPress?
- Woocommerce – get daily sales meta
- Running a PHP SQL script on a wordpress page
- Export WordPress User Meta to CSV/Excel
- Import Instagram post as WordPress post
- Collect all events in one year
- WordPress search query, how to modify the sql
- Unable to update the meta boxes with multiple fields
- Updating the database after parsing CSV document
- WordPress post insertion from PHP file
- Creating a WordPress addon for ContactForm7 submission (.XML file export)
- Inserting other fields to existing registration form in a WordPress theme
- Getting error in sql query
- user update profile for custom code
- How can I export data without using any import/export plugin
- Where to check in PHPmyAdmin / SQL database for subdomain
- Plugin Modification Change Functionality For Logged User Only
- Force CSV download with template_redirect
- SQL Query Search page
- direct query to post_meta table
- can’t delete a row from post_meta table
- Dynamically Create Posts Via XML File
- What to create new post using wp_insert_post, but it repeat the post infinitely
- Conditional statement within WP SQL query