메인 콘텐츠로 건너뛰기

WP Latest Posts 개발자 문서

이 문서는 숙련된 개발자가 저희 플러그인을 다른 서비스에 연결하는 데 도움이 됩니다. 이 플러그인의 모든 작업과 필터는 다음과 같습니다. 더 필요한 사항이 있으시면 이 전용 포럼을 통해 문의해 주세요. 플러그인을 사용해 주셔서 감사합니다!

wplp_save_widget

WP Latest Posts 데이터베이스에 설정을 저장한 후의 작업입니다.

매개변수 :

integer widget ID

Return :

void

파일에서 :

inc/wplp-widget.inc.php 152번째 줄

디버그 정보

디버그 정보를 추가하거나 수정합니다. 플러그인이나 테마는 추가 관리자 페이지를 생성하지 않고 자체 디버그 정보를 추가하고 싶어할 수 있습니다. 이 필터를 사용하여 자체 섹션을 추가하거나 기존 섹션에 더 많은 데이터를 추가할 수 있습니다. 코어에서 추가한 섹션의 배열 키는 모두 `wp-` 접두사가 붙습니다. 플러그인과 테마는 일관성을 유지하고 키 충돌을 방지하기 위해 자체 슬러그를 접두사로 사용해야 합니다. 배열 키는 복사된 데이터의 레이블로 사용됩니다. 인라인 HTML 태그를 포함할 수 있는 $description을 제외한 모든 문자열은 일반 텍스트여야 합니다(아래 참조).

매개변수 :

array $info Information

Return :

void

파일에서 :

jufeedback/ju-check-debug-data.php 1075번째 줄

wplp_box_layout_position

레이아웃의 각 부분에 표시할 게시물 필드 레이아웃의 모든 부분(상단, 오른쪽, 하단, 왼쪽)에 게시물 필드를 추가/제거할 수 있습니다.

매개변수 :

array Default itemsstring Box positioninteger Widget IDstring Theme name

Return :

array

파일에서 :

inc/wplp-front.inc.php 176번째 줄 inc/wplp-front.inc.php 201번째 줄 inc/wplp-front.inc.php 230번째 줄 inc/wplp-front.inc.php 244번째 줄 inc/wplp-front.inc.php 385번째 줄 inc/wplp-front.inc.php 399번째 줄

wplp_change_thumbnail_link

프런트엔드 디스플레이를 위한 필터 게시물 썸네일 링크

매개변수 :

string Thumbnail urlinteger Post IDstring Image size

Return :

string

파일에서 :

inc/wplp-front.inc.php 3140번째 줄

wplp_커스텀_게시물_데이터_가져오기

일부 사용자 정의 게시물 유형에 대한 게시물 결과를 수정하기 위한 필터

매개변수 :

array|object List of postsarray List argumentarray Widget details

Return :

array

파일에서 :

inc/wplp-front.inc.php 956번째 줄

wplp_front_author_field

프런트엔드 표시를 위해 작성자 이름을 필터링합니다.

매개변수 :

string Author field

Return :

string

파일에서 :

inc/wplp-front.inc.php 3474번째 줄

wplp_front_category_field

프런트엔드 디스플레이를 위한 필터 카테고리 이름입니다.

매개변수 :

string Category name

Return :

string

파일에서 :

inc/wplp-front.inc.php 3446번째 줄

wplp_front_date_field

프런트엔드 디스플레이를 위한 필터 날짜

매개변수 :

string Date

Return :

string

파일에서 :

inc/wplp-front.inc.php 3500번째 줄

wplp_전면_이미지_필드

프런트엔드 디스플레이에 표시되는 필터 이미지

매개변수 :

string Imagearray Latest posts settings

Return :

string

파일에서 :

inc/wplp-front.inc.php 2753번째 줄 inc/wplp-front.inc.php 3246번째 줄

wplp_front_readmore_field

프런트엔드 디스플레이를 위한 필터 더 보기 링크.

매개변수 :

string Readmore link

Return :

string

파일에서 :

inc/wplp-front.inc.php 3278번째 줄

wplp_front_text_field

프런트엔드 디스플레이를 위한 기본 텍스트 필터링

매개변수 :

string Post text

Return :

string

파일에서 :

inc/wplp-front.inc.php 2669번째 줄

wplp_front_title_field

프런트엔드 디스플레이용 필터 제목

매개변수 :

string Title

Return :

string

파일에서 :

inc/wplp-front.inc.php 2571번째 줄

wplp_src_category_args

게시물을 가져오기 위해 필터 목록 인수를 사용합니다.

매개변수 :

array List argumentarray List settings

Return :

array

파일에서 :

inc/wplp-front.inc.php 675번째 줄 inc/wplp-front.inc.php 710번째 줄 inc/wplp-front.inc.php 744번째 줄 inc/wplp-front.inc.php 781번째 줄 inc/wplp-front.inc.php 842번째 줄 inc/wplp-front.inc.php 940번째 줄