Thank you for your fast support )
ok I did a custom field now I want to get the first url in the content to be written automatically in the new field created.
I know there is a function called :
function get_link_url() {
$content = get_the_content();
$has_url = get_url_in_content( $content );
return ( $has_url ) ? $has_url : apply_filters( 'the_permalink', get_permalink() );
}
can I use this function with this field? and how?
Thank you for your time and help