Warning: This function has been deprecated.

links_popup_script() WordPress Function

The links_popup_script() function is used to create a popup window for links on a WordPress site. This function is typically used to display a link to an external site in a new window, or to display a link to a file such as a PDF or Word document. The function takes two parameters: the URL of the link, and the title of the popup window.

links_popup_script( string $text = 'Links', int $width = 400, int $height = 400, string $file = 'links.all.php', bool $count = true ) #

Show the link to the links popup and the number of links.


Parameters

$text

(string)(Optional)the text of the link

Default value: 'Links'

$width

(int)(Optional)the width of the popup window

Default value: 400

$height

(int)(Optional)the height of the popup window

Default value: 400

$file

(string)(Optional)the page to open in the popup window

Default value: 'links.all.php'

$count

(bool)(Optional)the number of links in the db

Default value: true


Top ↑

Source

File: wp-includes/deprecated.php

function links_popup_script($text = 'Links', $width=400, $height=400, $file='links.all.php', $count = true) {
	_deprecated_function( __FUNCTION__, '2.1.0' );
}


Top ↑

Changelog

Changelog
VersionDescription
2.1.0This function has been deprecated.
0.71Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More