WP Latest Posts Developer Documentation
This documentation will help experienced developers to plug any other service with our plugin. Here are all actions and filters for this plugin, if you need some more, feel free to ask by using this for dedicated forum. Thanks for using our plugin!
wplp_save_widget
Action after WP Latest Posts saves settings to database.
Parameters :
integer widget ID
Return :
void
In files :
inc/wplp-widget.inc.php line 152
debug_information
Add or modify the debug information.
Plugin or themes may wish to introduce their own debug information without creating additional admin pages
they can utilize this filter to introduce their own sections or add more data to existing sections.
Array keys for sections added by core are all prefixed with `wp-`, plugins and themes should use their own slug as
a prefix, both for consistency as well as avoiding key collisions. Note that the array keys are used as labels
for the copied data.
All strings are expected to be plain text except $description that can contain inline HTML tags (see below).
Parameters :
array $info Information
Return :
void
In files :
jufeedback/ju-check-debug-data.php line 1075
wplp_box_layout_position
Post fields to display on each part of the layout
You can add / remove post fields on any layout part (top, right, bottom, left)
Parameters :
array Default items
string Box position
integer Widget ID
string Theme name
Return :
array
In files :
inc/wplp-front.inc.php line 176
inc/wplp-front.inc.php line 201
inc/wplp-front.inc.php line 230
inc/wplp-front.inc.php line 244
inc/wplp-front.inc.php line 385
inc/wplp-front.inc.php line 399
wplp_change_thumbnail_link
Filter post thumbnail link for front-end display
Parameters :
string Thumbnail url
integer Post ID
string Image size
Return :
string
In files :
inc/wplp-front.inc.php line 3138
wplp_custom_posts_get_data
Filter to modify get Posts result for some custom post type
Parameters :
array|object List of posts
array List argument
array Widget details
Return :
array
In files :
inc/wplp-front.inc.php line 956
wplp_front_author_field
Filter author name for front-end display.
Parameters :
string Author field
Return :
string
In files :
inc/wplp-front.inc.php line 3472
wplp_front_category_field
Filter category name for front-end display.
Parameters :
string Category name
Return :
string
In files :
inc/wplp-front.inc.php line 3444
wplp_front_date_field
Filter date for front-end display
Parameters :
string Date
Return :
string
In files :
inc/wplp-front.inc.php line 3498
wplp_front_image_field
Filter image displayed for front-end display
Parameters :
string Image
array Latest posts settings
Return :
string
In files :
inc/wplp-front.inc.php line 2751
inc/wplp-front.inc.php line 3244
wplp_front_readmore_field
Filter readmore link for front-end display.
Parameters :
string Readmore link
Return :
string
In files :
inc/wplp-front.inc.php line 3276
wplp_front_text_field
Filter main text for front-end display
Parameters :
string Post text
Return :
string
In files :
inc/wplp-front.inc.php line 2667
wplp_front_title_field
Filter title for front-end display
Parameters :
string Title
Return :
string
In files :
inc/wplp-front.inc.php line 2569
wplp_src_category_args
Filter list argument to get posts.
Parameters :
array List argument
array List settings
Return :
array
In files :
inc/wplp-front.inc.php line 675
inc/wplp-front.inc.php line 710
inc/wplp-front.inc.php line 744
inc/wplp-front.inc.php line 781
inc/wplp-front.inc.php line 842
inc/wplp-front.inc.php line 940