WP Latest Posts Developer Documentation

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 149
/inc/wplp-admin.inc.php line 800

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 159
/inc/wplp-front.inc.php line 184
/inc/wplp-front.inc.php line 213
/inc/wplp-front.inc.php line 227
/inc/wplp-front.inc.php line 293
/inc/wplp-front.inc.php line 307

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 2337

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 2676

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 2648

wplp_front_date_field

Filter date for front-end display

Parameters :

string Date

Return :

string

In files :

/inc/wplp-front.inc.php line 2702

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 2050
/inc/wplp-front.inc.php line 2474

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 2496

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 1965

wplp_front_title_field

Filter title for front-end display

Parameters :

string Title

Return :

string

In files :

/inc/wplp-front.inc.php line 1880

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 490
/inc/wplp-front.inc.php line 524
/inc/wplp-front.inc.php line 555
/inc/wplp-front.inc.php line 591
/inc/wplp-front.inc.php line 651
/inc/wplp-front.inc.php line 736