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
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' ); }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
2.1.0 | This function has been deprecated. |
0.71 | Introduced. |