wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi
get_default_link_to_edit › WordPress Function
Da2.0.0
Deprecaton/a
› get_default_link_to_edit ( Nessun parametro )
Ritorna: |
|
Definito a: |
|
Codex: |
Retrieves the default link for editing.
Funzioni correlate: get_default_page_to_edit, get_default_post_to_edit, get_link_to_edit, get_real_file_to_edit, get_default_feed
Sorgenti
function get_default_link_to_edit() { $link = new stdClass(); if ( isset( $_GET['linkurl'] ) ) { $link->link_url = esc_url( wp_unslash( $_GET['linkurl'] ) ); } else { $link->link_url = ''; } if ( isset( $_GET['name'] ) ) { $link->link_name = esc_attr( wp_unslash( $_GET['name'] ) ); } else { $link->link_name = ''; } $link->link_visible = 'Y'; return $link; }