WP Latest Posts Dokumentasjon for utviklere

Denne dokumentasjonen vil hjelpe erfarne utviklere til å koble andre tjenester til vår plugin. Her er alle handlinger og filtre for denne pluginen, hvis du trenger litt mer, kan du spørre ved å bruke dette til et dedikert forum. Takk for at du bruker pluginet vårt!

wplp_save_widget

Handling etter WP Latest Posts lagrer innstillinger i databasen.

Parametere:

integer widget ID

Return :

void

I filer:

inc/wplp-widget.inc.php linje 152

debug_information

Legg til eller modifiser feilsøkingsinformasjonen.
Plugin eller temaer kan ønske å introdusere sin egen feilsøkingsinformasjon uten å opprette flere admin-sider.
De kan bruke dette filteret til å introdusere sine egne seksjoner eller legge til mer data til eksisterende seksjoner.
Array-nøkler for seksjoner lagt til med kjerne er alle prefikset med `wp-`, plugins og temaer skal bruke sin egen slug som
et prefiks, både for konsistens og unngå nøkkelkollisjoner.
Merk at matrisenøklene brukes som etiketter for de kopierte dataene.
Alle strengene forventes å være ren tekst bortsett fra $ beskrivelse som kan inneholde innebygde HTML-koder (se nedenfor).

Parametere:

array $info Information

Return :

void

I filer:

jufeedback/ju-check-debug-data.php linje 1071

wplp_box_layout_position

Legg ut felt som skal vises på hver del av oppsettet
Du kan legge til / fjerne innleggsfelt på en hvilken som helst oppsettdel (øverst, høyre, nederst, venstre)

Parametere:

array Default items
string Box position
integer Widget ID
string Theme name

Return :

array

I filer:

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 linje 385
inc/wplp-front.inc.php linje 399

wplp_change_thumbnail_link

Filtrer miniatyrkoblingen for front-end display

Parametere:

string Thumbnail url
integer Post ID
string Image size

Return :

string

I filer:

inc/wplp-front.inc.php linje 3147

wplp_custom_posts_get_data

Filter for å endre få innleggsresultater for en egendefinert posttype

Parametere:

array|object List of posts
array List argument
array Widget details

Return :

array

I filer:

inc/wplp-front.inc.php linje 956

wplp_front_author_field

Filtrer forfatternavn for front-end display.

Parametere:

string Author field

Return :

string

I filer:

inc/wplp-front.inc.php linje 3481

wplp_front_category_field

Filtrer kategorienavn for frontdisplay.

Parametere:

string Category name

Return :

string

I filer:

inc/wplp-front.inc.php linje 3453

wplp_front_date_field

Filtrer dato for frontdisplay

Parametere:

string Date

Return :

string

I filer:

inc/wplp-front.inc.php linje 3507

wplp_front_image_field

Filterbilde vises for frontvisning

Parametere:

string Image
array Latest posts settings

Return :

string

I filer:

inc/wplp-front.inc.php line 2760
inc/wplp-front.inc.php line 3253

wplp_front_readmore_field

Filter readmore-kobling for front-end display.

Parametere:

string Readmore link

Return :

string

I filer:

inc/wplp-front.inc.php linje 3285

wplp_front_text_field

Filtrer hovedtekst for frontvisning

Parametere:

string Post text

Return :

string

I filer:

inc / wplp-front.inc.php linje 2676

wplp_front_title_field

Filtrer tittel for front-end display

Parametere:

string Title

Return :

string

I filer:

inc/wplp-front.inc.php linje 2578

wplp_src_category_args

Filtrer listen argument for å få innlegg.

Parametere:

array List argument
array List settings

Return :

array

I filer:

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 linje 842
inc/wplp-front.inc.php linje 940