Luke Carbis
Luke Carbis
That's a great idea @ludderz – or instead of allowed extensions, you could choose allowed media types (e.g. Image / Video / Any).
Yes, only field level. We could consider opening separate issues for other options – but to my knowledge there's been no demand for that level of functionality.
@soraryu Yes, the workaround is to upload the file somewhere (even your media library), and then use a text field (or even better, a URL field) to store the download...
Great point. The way it's displayed at the moment isn't ideal for agencies who don't want to advertise how many licenses they have active to their clients.
Do you mean that you'd like to reuse the same "Fields" – or the settings for a specific Field?
Yeah, that makes sense! One thing you could do is hook into the `save_post` hook, then `json_decode` the post content, change whatever you need to change, and `json_encode` it back...
If you hook in _late_ (as in, after Block Lab does – a priority of `20` should work) to `wp_insert_post_data`, you should be able to `json_decode` the post content, make...
@pgallastegui @erickyle – I've not seen anyone actually extending Block Lab with a custom control yet, so this is exciting! Well done on adding the custom control to the Edit...
@pgallastegui @erickyle Sorry it took so long – here's an example on how you can extend Block Lab with a custom control: https://github.com/getblocklab/block-lab-pokemon-control
Great idea. :)