{"action":"created","issue":{"url":"https://api.github.com/repos/htmlburger/carbon-fields/issues/622","repository_url":"https://api.github.com/repos/htmlburger/carbon-fields","labels_url":"https://api.github.com/repos/htmlburger/carbon-fields/issues/622/labels{/name}","comments_url":"https://api.github.com/repos/htmlburger/carbon-fields/issues/622/comments","events_url":"https://api.github.com/repos/htmlburger/carbon-fields/issues/622/events","html_url":"https://github.com/htmlburger/carbon-fields/issues/622","id":393254724,"node_id":"MDU6SXNzdWUzOTMyNTQ3MjQ=","number":622,"title":"What is CF block slug for allowed_block_types filter?","user":{"login":"KevinSupertramp","id":1142786,"node_id":"MDQ6VXNlcjExNDI3ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/1142786?v=4","gravatar_id":"","url":"https://api.github.com/users/KevinSupertramp","html_url":"https://github.com/KevinSupertramp","followers_url":"https://api.github.com/users/KevinSupertramp/followers","following_url":"https://api.github.com/users/KevinSupertramp/following{/other_user}","gists_url":"https://api.github.com/users/KevinSupertramp/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinSupertramp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinSupertramp/subscriptions","organizations_url":"https://api.github.com/users/KevinSupertramp/orgs","repos_url":"https://api.github.com/users/KevinSupertramp/repos","events_url":"https://api.github.com/users/KevinSupertramp/events{/privacy}","received_events_url":"https://api.github.com/users/KevinSupertramp/received_events","type":"User","site_admin":false},"labels":[{"id":307615024,"node_id":"MDU6TGFiZWwzMDc2MTUwMjQ=","url":"https://api.github.com/repos/htmlburger/carbon-fields/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-12-20T23:44:38Z","updated_at":"2018-12-21T09:53:10Z","closed_at":"2018-12-21T09:04:19Z","author_association":"NONE","body":"Hi there,\r\n\r\nFirst, thanks so much for the Gutenberg support, these new blocks system looks really good!\r\n\r\nBasically what I am trying to do is to:\r\n\r\n1. Hide all the defaut WP block\r\n2. Display only my custom CF blocks\r\n\r\n`\r\nadd_filter('allowed_block_types', function($allowed_blocks) {\r\n    return [\r\n        'common/banner'\r\n    ];\r\n}, 10, 2);\r\n`\r\nhttps://wordpress.org/gutenberg/handbook/designers-developers/developers/filters/block-filters/\r\n\r\nBut I can't figure out how to display my custom blocks, I'm not sure what is the correct slug to use? As when we register a block we don't give an ID?\r\n\r\nI hope it makes sense.\r\n\r\nThanks a lot!!"},"comment":{"url":"https://api.github.com/repos/htmlburger/carbon-fields/issues/comments/449338130","html_url":"https://github.com/htmlburger/carbon-fields/issues/622#issuecomment-449338130","issue_url":"https://api.github.com/repos/htmlburger/carbon-fields/issues/622","id":449338130,"node_id":"MDEyOklzc3VlQ29tbWVudDQ0OTMzODEzMA==","user":{"login":"KevinSupertramp","id":1142786,"node_id":"MDQ6VXNlcjExNDI3ODY=","avatar_url":"https://avatars3.githubusercontent.com/u/1142786?v=4","gravatar_id":"","url":"https://api.github.com/users/KevinSupertramp","html_url":"https://github.com/KevinSupertramp","followers_url":"https://api.github.com/users/KevinSupertramp/followers","following_url":"https://api.github.com/users/KevinSupertramp/following{/other_user}","gists_url":"https://api.github.com/users/KevinSupertramp/gists{/gist_id}","starred_url":"https://api.github.com/users/KevinSupertramp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KevinSupertramp/subscriptions","organizations_url":"https://api.github.com/users/KevinSupertramp/orgs","repos_url":"https://api.github.com/users/KevinSupertramp/repos","events_url":"https://api.github.com/users/KevinSupertramp/events{/privacy}","received_events_url":"https://api.github.com/users/KevinSupertramp/received_events","type":"User","site_admin":false},"created_at":"2018-12-21T09:53:10Z","updated_at":"2018-12-21T09:53:10Z","author_association":"NONE","body":"Amazing as always! Works perfectly.\r\n\r\nThank you!!"}}
{"actor":{"display_login":"KevinSupertramp"}}