p_internal_hosts()
*
* @since 6.2.0
*
* @param string $link The URL to test.
* @return bool Returns true for internal URLs and false for all other URLs.
*/
function wp_is_internal_link( $link ) {
$link = strtolower( $link );
if ( in_array( wp_parse_url( $link, PHP_URL_SCHEME ), wp_allowed_protocols(), true ) ) {
return in_array( wp_parse_url( $link, PHP_URL_HOST ), wp_internal_hosts(), true );
}
return false;
}
Fatal error: Uncaught Error: Call to undefined function plugins_url() in /home/sportuga/public_html/wp-content/plugins/3r-elementor-timeline-widget/init.php:16
Stack trace:
#0 /home/sportuga/public_html/wp-settings.php(473): include_once()
#1 /home/sportuga/public_html/wp-config.php(100): require_once('/home/sportuga/...')
#2 /home/sportuga/public_html/wp-load.php(50): require_once('/home/sportuga/...')
#3 /home/sportuga/public_html/wp-blog-header.php(13): require_once('/home/sportuga/...')
#4 /home/sportuga/public_html/index.php(17): require('/home/sportuga/...')
#5 {main}
thrown in /home/sportuga/public_html/wp-content/plugins/3r-elementor-timeline-widget/init.php on line 16