_fix_attachment_links_replace_cb

Definition:
function _fix_attachment_links_replace_cb($match) {}

Parameters

  • $match

Source code

function _fix_attachment_links_replace_cb($match) {

        global $_fix_attachment_link_id;

        return stripslashes( 'href='.$match[1] ).get_attachment_link( $_fix_attachment_link_id ).stripslashes( $match[1] );

}

4319

No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: