Use media_buttons action for it. Check below code.
add_action('media_buttons', 'add_my_media_button');
function add_my_media_button(){
echo '<a href="'.get_site_url().'/wp-admin/customize.php" class="button button-default">Customize</a>';
}
Hope this will helps you.
Thanks!
Related Posts:
- What Can I Use To Add A Custom Button Between Publish button and Move To Trash?
- WordPress plugin to publish to multiple remote WordPress blogs
- Calling Different Custom Post Timestamps in a table
- Is there a action hook for the “Empty Trash” button?
- Remove Categories / Tags From Admin Menu
- add action only on post publish – not update
- How to display by default only published posts/pages in the admin area?
- How to prevent posts from being published too close to each other?
- Find out who deleted a page or post?
- Post/Page Preview Template
- Custom Post Types, slug, archive and SEO plugins
- Setting Custom Sort Order of Posts within a Category
- Is it possible to Schedule Attachments in WordPress?
- Search Custom Post Type Pages and Custom Fields in 2 Dropdowns?
- How can you change the ‘Insert into Post’ title in the media button?
- Where does WordPress store the users customization in the theme
- Add a checkbox to post screen that adds a class to the title
- Elegant way to include only published posts with get_objects_in_term()?
- Using single.php from plugin folder instead of default template folder
- using wp_update_post on save_post
- Custom permalink structure only for default posts
- Replace image attributes for lazyload plugin (data-src)
- Exclude drafts in all() view of edit.php
- delete post also attachments
- Post publish only hook?
- Publish pending article from front end with a button?
- How to add a “publish” link to the quick actions
- How to limit user to publish post per day and per role?
- Is this the best (and only) option to style CSS for a given post type?
- Sort post by attributes ‘order’
- Any way to create a revision of a post ONLY with a new button in the Meta Box?
- Attach pdf file to custom post type
- When a user creates a post (pending), send a confirmation link that allows them to publish
- How to display comments and comment form on custom post type?
- How to disable drafts?
- In what sequence are the hooks fired when a post is “published”?
- How to change the layout and styling of posts according to their category in WordPress?
- How do I create a featured post within a custom post type?
- Restrict the Number of Posts an Author can Publish (over time)?
- how to enable different number of revisions for different blogs when using WPMU?
- Add javascript when post is published
- adding a custom css class to post
- Prevent duplicate posts in wp_insert_post using custom fields
- Custom Post Type Pagination Doesn’t Work in WordPress 3.4
- Static posts page with home.php
- featuring old articles without messing up with the archive
- Add default content to post (for specific category)
- Unattaching images from a post
- Pagination not working on Custom Page Template
- How to wrap every image in a post with a div?
- Post from front-end only by logged in users, form posts as “posted by:
- Delete Post Link to delete post, its meta and attachments
- Publish posts only after the condition is met
- Navigation link to specific user page
- Hiding by default specific post status on backend list?
- Show One Category on Post
- how to grab first link in post… and of course call it
- WordPress Delete hook with wp_delete_post function?
- Custom post type single (permalink) throws a 404 error
- Order post by year DESC and month ASC
- How to edit wordpress RSS feed to show post title only
- Add custom field to category of custom post type
- Display custom post types by date field
- Detect Post Type when publish_post is ran
- How to hook a function only when I need to delete permanently a post?
- Allow role to delete posts but block him the wp-admin
- Why does `url_to_postid` return 0 when testing `page_for_posts` Page?
- How can I display a specific user’s first published post?
- Does WordPress remove draft status automatically?
- Do I use custom post type or something else?
- Prevent post from being published if no category selected
- Send email to user that his post has been rejected
- how “manage_posts_custom_column” action hook relate to “manage_${post_type}_columns” filter hook?
- display order of connections
- Delete Post From Front-End and attachment permanently
- Add custom fields to post programmatically
- same template for multiple custom post type single
- if custom post type exist
- How to place HTML below the title of the (custom) post overview
- Limit number of posts a user can make per minute?
- How to get a nofication when post submitted
- user contributed content as custom post types
- Custom post type permalinks breaking due to 3.1 bug fix
- Remove custom posts that match taxonomy value
- Using Custom Posts with Metaboxes and Drop-downs
- Custom Theme Want To Remove One Category From All Displays
- Is it possible to have two different previews of a post (ie. two templates for one post)?
- Is there any WordPress alternative to Book module of Drupal?
- ‘Invalid post type’ error when importing from one site to another
- Every possible way to get data (posts) from WordPress
- publish_post conflicts with save_post
- .current-menu-item class on custom post type children pages – again?
- Blogroll – Different layout for first post
- How to delete old posts’ edits to save space?
- Filter Posts By Tag
- Get post id in wordpress action?
- Display page content AFTER a loop of posts
- How to show featured image in custom post type dashboard post page
- Notification to Admin or Author upon new post [duplicate]
- Run a function when post is deleted?