WP Latest Posts Udviklerdokumentation
Denne dokumentation hjælper erfarne udviklere med at tilslutte enhver anden service til vores plugin. Her er alle handlinger og filtre til dette plugin, hvis du har brug for noget mere, er du velkommen til at spørge ved at bruge dette til dedikeret forum. Tak fordi du brugte vores plugin!
wplp_save_widget
Handling efter WP Latest Posts gemmer indstillinger i databasen.
Parametre:
integer widget ID
Return :
void
I filer:
inc/wplp-widget.inc.php linje 152
debug_information
Tilføj eller rediger oplysninger om fejlretning.
Plugin eller temaer ønsker måske at introducere deres egne fejlretningsoplysninger uden at oprette yderligere admin-sider,
de kan bruge dette filter til at introducere deres egne sektioner eller tilføje flere data til eksisterende sektioner.
Array-nøgler til sektioner tilføjet af kerne er alle forud for `wp-`, plugins og temaer skal bruge deres egen slug som
et præfiks, både for konsistens og undgå nøglekollisioner.
Bemærk, at matrixnøglerne bruges som etiketter til de kopierede data.
Alle strenge forventes at være almindelig tekst undtagen $ beskrivelse, der kan indeholde indbyggede HTML-tags (se nedenfor).
Parametre:
array $info Information
Return :
void
I filer:
jufeedback/ju-check-debug-data.php linje 1075
wplp_box_layout_position
Send felter, der skal vises på hver del af layoutet
Du kan tilføje / fjerne postfelter på enhver layoutdel (øverst, højre, nederst, venstre)
Parametre:
array Default items
string Box position
integer Widget ID
string Theme name
Return :
array
I filer:
inc/wplp-front.inc.php linje 176
inc/wplp-front.inc.php linje 201
inc/wplp-front.inc.php linje 230
inc/wplp-front.inc.php linje 244
inc/wplp-front. inc.php linje 385
inc/wplp-front.inc.php linje 399
wplp_change_thumbnail_link
Filtrer miniature-link til front-end display
Parametre:
string Thumbnail url
integer Post ID
string Image size
Return :
string
I filer:
inc/wplp-front.inc.php linje 3138
wplp_custom_posts_get_data
Filtrer for at ændre få indlægsresultater for en tilpasset indlægstype
Parametre:
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 forfatternavnet til frontend-display.
Parametre:
string Author field
Return :
string
I filer:
inc/wplp-front.inc.php linje 3472
wplp_front_category_field
Filtrer kategorienavn til frontend-display.
Parametre:
string Category name
Return :
string
I filer:
inc/wplp-front.inc.php linje 3444
wplp_front_date_field
Filtrer dato for frontend-display
Parametre:
string Date
Return :
string
I filer:
inc/wplp-front.inc.php linje 3498
wplp_front_image_field
Filterbillede vises til frontend-visning
Parametre:
string Image
array Latest posts settings
Return :
string
I filer:
inc/wplp-front.inc.php linje 2751
inc/wplp-front.inc.php linje 3244
wplp_front_readmore_field
Filter readmore-link til frontend-display.
Parametre:
string Readmore link
Return :
string
I filer:
inc/wplp-front.inc.php linje 3276
wplp_front_text_field
Filtrer hovedtekst til frontend-display
Parametre:
string Post text
Return :
string
I filer:
inc/wplp-front.inc.php linje 2667
wplp_front_title_field
Filtrer titel til frontend-display
Parametre:
string Title
Return :
string
I filer:
inc/wplp-front.inc.php linje 2569
wplp_src_category_args
Filtrer listen argument for at få indlæg.
Parametre:
array List argument
array List settings
Return :
array
I filer:
inc/wplp-front.inc.php linje 675
inc/wplp-front.inc.php linje 710
inc/wplp-front.inc.php linje 744
inc/wplp-front.inc.php linje 781
inc/wplp-front. inc.php linje 842
inc/wplp-front.inc.php linje 940