{"action":"published","release":{"url":"https://api.github.com/repos/StoutLogic/acf-builder/releases/12907369","assets_url":"https://api.github.com/repos/StoutLogic/acf-builder/releases/12907369/assets","upload_url":"https://uploads.github.com/repos/StoutLogic/acf-builder/releases/12907369/assets{?name,label}","html_url":"https://github.com/StoutLogic/acf-builder/releases/tag/1.8.0","id":12907369,"node_id":"MDc6UmVsZWFzZTEyOTA3MzY5","tag_name":"1.8.0","target_commitish":"master","name":"Field Wrapper Methods","draft":false,"author":{"login":"stevep","id":9717,"node_id":"MDQ6VXNlcjk3MTc=","avatar_url":"https://avatars1.githubusercontent.com/u/9717?v=4","gravatar_id":"","url":"https://api.github.com/users/stevep","html_url":"https://github.com/stevep","followers_url":"https://api.github.com/users/stevep/followers","following_url":"https://api.github.com/users/stevep/following{/other_user}","gists_url":"https://api.github.com/users/stevep/gists{/gist_id}","starred_url":"https://api.github.com/users/stevep/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevep/subscriptions","organizations_url":"https://api.github.com/users/stevep/orgs","repos_url":"https://api.github.com/users/stevep/repos","events_url":"https://api.github.com/users/stevep/events{/privacy}","received_events_url":"https://api.github.com/users/stevep/received_events","type":"User","site_admin":false},"prerelease":false,"created_at":"2018-09-14T16:55:15Z","published_at":"2018-09-14T17:16:34Z","assets":[],"tarball_url":"https://api.github.com/repos/StoutLogic/acf-builder/tarball/1.8.0","zipball_url":"https://api.github.com/repos/StoutLogic/acf-builder/zipball/1.8.0","body":"@aprokopenko has graciously added function calls to make setting field width, class, id and attributes much easier.\r\n\r\n```\r\n$builder = new FieldsBuilder('Slider')\r\n$builder\r\n    ->addText( 'slider_title' )\r\n        ->setWidth( '50%' )\r\n        ->setSelector( '#my-id.my-class' )\r\n        ->setAttr( 'data-custom_attr', 'thisisattr' );\r\n```\r\n\r\nNo more need to manually set the wrapper array as attributes to a new field. "}}
{"actor":{"display_login":"stevep"}}