{"id":33511,"date":"2014-12-18T22:46:22","date_gmt":"2014-12-18T22:46:22","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/gravity-forms-business-hours\/"},"modified":"2019-04-23T17:53:32","modified_gmt":"2019-04-23T17:53:32","slug":"gravity-forms-business-hours","status":"publish","type":"plugin","link":"https:\/\/scn.wordpress.org\/plugins\/gravity-forms-business-hours\/","author":369124,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.1.3","stable_tag":"trunk","tested":"5.1.22","requires":"3.3","requires_php":"","requires_plugins":"","header_name":"Gravity Forms Business Hours by GravityView","header_author":"GravityView","header_description":"","assets_banners_color":"d96062","last_updated":"2019-04-23 17:53:32","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/gravityview.co","header_plugin_uri":"https:\/\/gravityview.co","header_author_uri":"https:\/\/gravityview.co","rating":3.7,"author_block_rating":0,"active_installs":100,"downloads":7172,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":"1","2":"1","3":0,"4":"1","5":"3"},"assets_icons":{"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":"1048640","resolution":"256x256","location":"assets"},"icon-512x512.jpg":{"filename":"icon-512x512.jpg","revision":"1048671","resolution":"512x512","location":"assets"}},"assets_banners":{"banner-1544x500.jpg":{"filename":"banner-1544x500.jpg","revision":"1048640","resolution":"1544x500","location":"assets"},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1048640","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2","1.2.1","2.0","2.0.1","2.1","2.1.1","2.1.2","2.1.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"2073440","resolution":"1","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"2073440","resolution":"3","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"2073440","resolution":"2","location":"plugin"}},"screenshots":{"1":"Business Hours in the Gravity Forms View Entry screen","2":"The Business Hours field","3":"The Business Hours button in the Form Editor"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2360,2695,10152,1655,33557],"plugin_category":[39,42],"plugin_contributors":[149057,78649,78650],"plugin_business_model":[],"class_list":["post-33511","plugin","type-plugin","status-publish","hentry","plugin_tags-business","plugin_tags-gravity","plugin_tags-gravity-form","plugin_tags-gravity-forms","plugin_tags-gravityview","plugin_category-business","plugin_category-contact-forms","plugin_contributors-gravityview","plugin_contributors-katzwebdesign","plugin_contributors-katzwebservices","plugin_committers-katzwebdesign"],"banners":{"banner":"https:\/\/ps.w.org\/gravity-forms-business-hours\/assets\/banner-772x250.jpg?rev=1048640","banner_2x":"https:\/\/ps.w.org\/gravity-forms-business-hours\/assets\/banner-1544x500.jpg?rev=1048640","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/gravity-forms-business-hours\/assets\/icon-256x256.jpg?rev=1048640","icon_2x":"https:\/\/ps.w.org\/gravity-forms-business-hours\/assets\/icon-256x256.jpg?rev=1048640","generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/gravity-forms-business-hours\/trunk\/screenshot-1.png?rev=2073440","caption":"Business Hours in the Gravity Forms View Entry screen"},{"src":"https:\/\/ps.w.org\/gravity-forms-business-hours\/trunk\/screenshot-2.png?rev=2073440","caption":"The Business Hours field"},{"src":"https:\/\/ps.w.org\/gravity-forms-business-hours\/trunk\/screenshot-3.png?rev=2073440","caption":"The Business Hours button in the Form Editor"}],"raw_content":"<!--section=description-->\n<blockquote>\n  <p>This plugin requires <a href=\"https:\/\/rocketgenius.pxf.io\/c\/1210629\/445235\/7938\">Gravity Forms<\/a>, the best form plugin for WordPress!<\/p>\n<\/blockquote>\n\n<p>Add a Business Hours field to your Gravity Forms form.<\/p>\n\n<p><strong>This plugin supports:<\/strong><\/p>\n\n<ul>\n<li>Setting closing times after midnight<\/li>\n<li>Multiple open times per day<\/li>\n<li>Displaying when a business is currently open<\/li>\n<li>Fully localized - works great in languages other than English<\/li>\n<li>Edit existing values when editing an entry<\/li>\n<li>Works with <a href=\"https:\/\/gravityview.co\">GravityView<\/a> and the <a href=\"https:\/\/wordpress.org\/plugins\/gravity-forms-addons\/\">Gravity Forms Directory<\/a> plugins<\/li>\n<\/ul>\n\n<h4>Note: this plugin is actively updated, but customer support is only available to <a href=\"https:\/\/gravityview.co\">GravityView<\/a> license holders.<\/h4>\n\n<h3>Available Filters<\/h3>\n\n<p>These filters are available for code writers to modify the output:<\/p>\n\n<ul>\n<li><code>gravityforms_business_hours_output_template<\/code> - Change template for open days. Modify the output of the open days. Data inside {{brackets}} will be replaced with the appropriate values.<\/li>\n<li><code>gravityforms_business_hours_output_closed_template<\/code> - Closed days template.  Data inside {{brackets}} will be replaced with the appropriate values.<\/li>\n<li><code>gravityforms_business_hours_open_label<\/code> - \"Open Now\" label<\/li>\n<li><code>gravityforms_business_hours_default_start_time<\/code> - Default start time in <code>H:i<\/code> format (default: <code>09:00<\/code>)<\/li>\n<li><code>gravityforms_business_hours_default_end_time<\/code> - Default end time in <code>H:i<\/code> format (default: <code>18:00<\/code>)<\/li>\n<li><code>gravityforms_business_hours_time_format<\/code> - Modify the time format for the displayed value (default: <code>g:i a<\/code>)<\/li>\n<li><code>gravityforms_business_hours_interval<\/code> - Time interval for the time dropdown options (default: <code>30<\/code>)<\/li>\n<li><code>gravityforms_business_hours_day_format<\/code> - Modify the date format for how the days appear, in <a href=\"http:\/\/codex.wordpress.org\/Formatting_Date_and_Time\">PHP Date formatting<\/a>.<\/li>\n<li><code>gravityforms_business_hours_days<\/code> - Array of day values used to display dropdowns and Hours output <strong>Only modify the day values. Don't change the keys!<\/strong><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload plugin files to your plugins folder, or install using WordPress' built-in Add New Plugin installer<\/li>\n<li>Activate the plugin<\/li>\n<li>In Edit Form, under Advanced Fields, click \"Business Hours\" to add the field to your form<\/li>\n<\/ol>\n\n<!--section=changelog-->\n<h4>2.1.3 on April 23, 2019<\/h4>\n\n<ul>\n<li>Fixed: \"null\" being output for empty Business Hours fields<\/li>\n<\/ul>\n\n<h4>2.1.2 on January 7, 2019<\/h4>\n\n<ul>\n<li>Fixed: Error when exporting forms in Gravity Forms that contain Business Hours fields<\/li>\n<\/ul>\n\n<h4>2.1.1 on November 20, 2018<\/h4>\n\n<ul>\n<li>Fixed: Newly added fields not working properly<\/li>\n<\/ul>\n\n<h4>2.1 on June 25, 2018<\/h4>\n\n<ul>\n<li>Updated: Use site's time format setting for the time dropdowns (24-hour clock now supported)<\/li>\n<li>Fixed: Not able to update the field's default label<\/li>\n<\/ul>\n\n<h4>2.0.1 on February 26, 2018<\/h4>\n\n<ul>\n<li>Fixed: Network Activation on Multisite<\/li>\n<li>Moved <code>GFBusinessHours<\/code> class to its own file<\/li>\n<\/ul>\n\n<h4>2.0 on November 8, 2017<\/h4>\n\n<ul>\n<li>Email notifications now show a list of hours instead of code<\/li>\n<li>Improved output in GravityView by stripping extra whitespace<\/li>\n<li>Major code rewrite for a better structure (using Gravity Forms <code>GF_Field<\/code> class)<\/li>\n<li>Developers: All public methods have been removed. This is a breaking change, if you're building on top of Version 1.x<\/li>\n<\/ul>\n\n<h4>1.2.1 on March 10, 2015<\/h4>\n\n<ul>\n<li>Fixed: Business Hours field would be shown as Required in GravityView Edit Entry mode<\/li>\n<li>Fixed: PHP notices<\/li>\n<\/ul>\n\n<h4>1.2 on December 18<\/h4>\n\n<ul>\n<li>Liftoff!<\/li>\n<\/ul>","raw_excerpt":"Add a Business Hours field to Gravity Forms.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/33511","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=33511"}],"author":[{"embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/katzwebdesign"}],"wp:attachment":[{"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=33511"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=33511"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=33511"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=33511"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=33511"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/scn.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=33511"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}