WP Latest Posts開発者向けドキュメント
このドキュメントは、経験豊富な開発者が他のサービスをプラグインでプラグインするのに役立ちます。 このプラグインのすべてのアクションとフィルターは次のとおりです。さらに必要な場合は、 専用フォーラムで これを使用してお気軽にお問い合わせください。 プラグインをご利用いただきありがとうございます。
wplp_save_widget
WP Latest Posts後のアクションは設定をデータベースに保存します。
パラメーター :
integer widget ID
Return :
void
ファイル内:
inc/wplp-widget.inc.php行152
debug_information
デバッグ情報を追加または変更します。
プラグインまたはテーマは、追加の管理ページ
を
作成せずに独自のデバッグ情報を導入したい場合があります。このフィルターを利用して、独自のセクションを導入したり、既存のセクションにデータを追加したりできます。 コアによって追加されたセクションの配列キーにはすべて `wp-`のプレフィックスが付いています。プラグインとテーマは
、一貫性とキーの衝突を回避するために、プレフィックス
として独自のスラッグを使用する必要があります。 配列キーは、コピーされたデータの
ラベルとして使用されることに注意してください。 インラインHTMLタグを含めることができる$ descriptionを除いて、すべての文字列はプレーンテキストであることが期待されます(以下を参照)。
パラメーター :
array $info Information
Return :
void
ファイル内:
juフィードバック/ju-check-debug-data.php 1075行目
wplp_box_layout_position
レイアウトの各部分に表示
する投稿フィールド任意のレイアウト部分(上、右、下、左)の投稿フィールドを追加/削除できます
パラメーター :
array Default items
string Box position
integer Widget ID
string Theme name
Return :
array
ファイル内:
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 385行目
inc/wplp-front.inc.php 399行目
wplp_change_thumbnail_link
フロントエンド表示用の投稿サムネイルリンクのフィルタリング
パラメーター :
string Thumbnail url
integer Post ID
string Image size
Return :
string
ファイル内:
inc/wplp-front.inc.php 行 3138
wplp_custom_posts_get_data
カスタム投稿タイプの投稿結果を取得するためのフィルター
パラメーター :
array|object List of posts
array List argument
array Widget details
Return :
array
ファイル内:
inc/wplp-front.inc.php 行 956
wplp_front_author_field
フロントエンド表示の作成者名をフィルタリングします。
パラメーター :
string Author field
Return :
string
ファイル内:
inc/wplp-front.inc.php 行 3472
wplp_front_category_field
フロントエンド表示のフィルターカテゴリ名。
パラメーター :
string Category name
Return :
string
ファイル内:
inc/wplp-front.inc.php 行 3444
wplp_front_date_field
フロントエンド表示の日付をフィルタリング
パラメーター :
string Date
Return :
string
ファイル内:
inc/wplp-front.inc.php 行 3498
wplp_front_image_field
フロントエンド表示用に表示されるフィルター画像
パラメーター :
string Image
array Latest posts settings
Return :
string
ファイル内:
inc/wplp-front.inc.php 2751 行目
inc/wplp-front.inc.php 3244 行目
wplp_front_readmore_field
フロントエンド表示のreadmoreリンクをフィルタリングします。
パラメーター :
string Readmore link
Return :
string
ファイル内:
inc/wplp-front.inc.php 行 3276
wplp_front_text_field
フロントエンド表示のメインテキストをフィルター処理する
パラメーター :
string Post text
Return :
string
ファイル内:
inc/wplp-front.inc.php 行 2667
wplp_front_title_field
フロントエンド表示のタイトルをフィルター
パラメーター :
string Title
Return :
string
ファイル内:
inc/wplp-front.inc.php 行 2569
wplp_src_category_args
リスト引数をフィルタリングして投稿を取得します。
パラメーター :
array List argument
array List settings
Return :
array
ファイル内:
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 行 842
inc/wplp-front.inc.php 行 940