make_undelete_blog

動作鉤子
do_action( 'make_undelete_blog', $site_id )

make_undelete_blog: 這個函式可以撤消對WordPress多站點網路中的一個部落格的刪除: 當一個部落格被刪除時,它的內容、使用者和設定通常會從資料庫中刪除: 這個函式允許撤銷對一個部落格的刪除,將其內容、使用者和設定恢復到資料庫中。

當一個網站的”刪除”狀態被刪除時發生觸發。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
do_action( 'make_undelete_blog', $site_id );
do_action( 'make_undelete_blog', $site_id );
do_action( 'make_undelete_blog', $site_id );

常見問題

FAQs
檢視更多 >