mardi 7 novembre 2017

input type checkbox cannot check

I create a function to remove link in column table and change to input type checkbox but my checkbox it not working and cannot be checked

    add_filter ('wpdatatables_filter_link_cell', 'wp_filter_link_cell', 2 );

function wp_filter_link_cell( $formattedValue ){

    $formattedValue = strip_tags($formttedValue);

    return '<input type="checkbox">' . $formattedValue . '</br>';
}




Aucun commentaire:

Enregistrer un commentaire