admin管理员组

文章数量:1307742

I want to add the extra option to the "Link to" attribute of "core/gallery" WP block. As default, It has three options,

  1. Attachment page
  2. Medial file
  3. None

I want to add extra option to the existing three and make them like

  1. Attachment page
  2. Medial file
  3. None
  4. Custom

Any help would be appreciated.

本文标签: How to add extra option to WP core gallery block