Donations'; $support_link = 'Support'; // Add your links at the beginning of the array array_unshift($links, $donations_link, $support_link); return $links; } add_filter('plugin_action_links_admin-page-notes/admin-page-notes.php', 'customize_links_on_plugin_list'); function adjust_meta_boxes() { global $post; $post_types = get_post_types(); $value = get_post_meta( $post->ID, 'gb_admin_note', true ); if ($value) { foreach ($post_types as $type) { // First, remove the existing meta box remove_meta_box('editor-note-view', $type, 'side'); // Then, re-add it with a new priority add_meta_box( 'editor-note-view', __('Notes from Administrator', 'gb-page-notes'), 'editor_page_note_view_callback', // Callback function for the content of the box $type, 'side', 'high' // Adjust the priority as needed ); } } } // Hook into the 'do_meta_boxes' action // add_action('do_meta_boxes', 'adjust_meta_boxes'); }