Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




wp_ajax_wp_link_ajax [ WordPress Function ]

wp_ajax_wp_link_ajax ( No parameters )
Defined at:



No description yet.

Source


<?php
function wp_ajax_wp_link_ajax() {
    
check_ajax_referer'internal-linking''_ajax_linking_nonce' );

    
$args = array();

    if ( isset( 
$_POST['search'] ) )
        
$args['s'] = stripslashes$_POST['search'] );
    
$args['pagenum'] = ! empty( $_POST['page'] ) ? absint$_POST['page'] ) : 1;

    require(
ABSPATH WPINC '/class-wp-editor.php');
    
$results _WP_Editors::wp_link_query$args );

    if ( ! isset( 
$results ) )
        
wp_die);

    echo 
json_encode$results );
    echo 
"\n";

    
wp_die();
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics