Gå til hovedindhold

WP Latest Posts Udviklerdokumentation

Denne dokumentation vil hjælpe erfarne udviklere med at integrere enhver anden tjeneste med vores plugin. Her er alle handlinger og filtre for dette plugin, hvis du har brug for mere, er du velkommen til at spørge ved at bruge dette til dedikeret forum. Tak fordi du bruger vores plugin!

wplp_save_widget

Handling efter at WP Latest Posts gemmer indstillinger i databasen.

Parametre :

heltal widget-ID

Returnering :

void

I filer :

inc/wplp-widget.inc.php line 152

debug_information

Tilføj eller rediger fejlinformationen. Plugins eller temaer kan ønske at introducere deres egen fejlinformation uden at oprette ekstra administrationssider de kan bruge dette filter til at introducere deres egne sektioner eller tilføje mere data til eksisterende sektioner. Array-nøgler for sektioner tilføjet af kernen er alle præfikset med `wp-`, plugins og temaer bør bruge deres eget slug som præfiks, både for konsistens og for at undgå nøglekollisioner. Bemærk, at array-nøglerne bruges som etiketter for de kopierede data. Alle strenge forventes at være ren tekst undtagen $description, som kan indeholde indlejrede HTML-tags (se nedenfor).

Parametre :

array $info Information

Returnering :

void

I filer :

jufeedback/ju-check-debug-data.php line 1075

wplp_box_layout_position

Indlægsfelter, der skal vises på hver del af layoutet. Du kan tilføje/fjerne indlægsfelter på enhver layoutdel (top, højre, bund, venstre)

Parametre :

array Standardelementerstreng Bokspositionheltal widget-IDstreng Tema navn

Returnering :

array

I filer :

inc/wplp-front.inc.php line 176inc/wplp-front.inc.php line 201inc/wplp-front.inc.php line 230inc/wplp-front.inc.php line 244inc/wplp-front.inc.php line 385inc/wplp-front.inc.php line 399

wplp_change_thumbnail_link

Filtrer indlæggets miniaturelink til frontend-visning

Parametre :

streng Miniature-URLheltal Indlæg IDstreng Billedstørrelse

Returnering :

string

I filer :

inc/wplp-front.inc.php line 3140

wplp_custom_posts_get_data

Filtrer for at ændre hentning af indlægresultat for en tilpasset indlægstype

Parametre :

array|objekt Liste over indlægarray Listeargumentarray Widgetdetaljer

Returnering :

array

I filer :

inc/wplp-front.inc.php line 956

wplp_front_author_field

Filtrer forfatternavn til frontend-visning.

Parametre :

streng Forfatterfelt

Returnering :

string

I filer :

inc/wplp-front.inc.php line 3474

wplp_front_category_field

Filtrer kategorinavn til frontend-visning.

Parametre :

streng Kategorinavn

Returnering :

string

I filer :

inc/wplp-front.inc.php line 3446

wplp_front_date_field

Filtrer dato til frontend-visning

Parametre :

streng Dato

Returnering :

string

I filer :

inc/wplp-front.inc.php line 3500

wplp_front_image_field

Filtrer billede vist for frontend-visning

Parametre :

streng Billedearray Seneste indlæg indstillinger

Returnering :

string

I filer :

inc/wplp-front.inc.php line 2753inc/wplp-front.inc.php line 3246

wplp_front_readmore_field

Filtrer læs mere-link til front-end visning.

Parametre :

streng Læs mere-link

Returnering :

string

I filer :

inc/wplp-front.inc.php line 3278

wplp_front_text_field

Filtrer hovedtekst til front-end visning

Parametre :

streng Indlægstekst

Returnering :

string

I filer :

inc/wplp-front.inc.php line 2669

wplp_front_title_field

Filtrer titel til front-end visning

Parametre :

streng Titel

Returnering :

string

I filer :

inc/wplp-front.inc.php line 2571

wplp_src_category_args

Filtrer listeargument for at hente indlæg.

Parametre :

array Listeargumentarray Listeindstillinger

Returnering :

array

I filer :

inc/wplp-front.inc.php line 675inc/wplp-front.inc.php line 710inc/wplp-front.inc.php line 744inc/wplp-front.inc.php line 781inc/wplp-front.inc.php line 842inc/wplp-front.inc.php line 940