Opened 12 years ago
Closed 12 years ago
#23264 closed enhancement (invalid)
Add filter for default links for multisite installs
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | minor | Version: | |
Component: | Multisite | Keywords: | |
Focuses: | Cc: |
Description
Topic says it all. It would be great to add filter to the array of default links, as other parts are customizable either through filters or site entries in the database.
Change:
foreach ( $default_links as $link ) { $wpdb->insert( $wpdb->links, $link); $wpdb->insert( $wpdb->term_relationships, array('term_taxonomy_id' => $blogroll_tt_id, 'object_id' => $wpdb->insert_id) ); }
to:
foreach ( $default_links as $link ) { $wpdb->insert( $wpdb->links, $link); $wpdb->insert( $wpdb->term_relationships, array('term_taxonomy_id' => $blogroll_tt_id, 'object_id' => $wpdb->insert_id) ); } $default_links = apply_filters( 'wp_install_default_links', $default_links );
Change History (1)
Note: See
TracTickets for help on using
tickets.
Default links were removed in [21500].