PHP 클래스 WPCOM_Legacy_Redirector_CLI, vip-mu-plugins-public

상속: extends WP_CLI_Command
파일 보기 프로젝트 열기: Automattic/vip-mu-plugins-public

공개 메소드들

메소드 설명
import_from_csv ( $args, $assoc_args ) Bulk import redirects from a CSV file matching the following structure:
import_from_meta ( $args, $assoc_args ) Bulk import redirects from URLs stored as meta values for posts.
insert_redirect ( $args, $assoc_args ) Insert a single redirect

메소드 상세

import_from_csv() 공개 메소드

redirect_from_path,(redirect_to_post_id|redirect_to_path|redirect_to_url)
public import_from_csv ( $args, $assoc_args )

import_from_meta() 공개 메소드

Bulk import redirects from URLs stored as meta values for posts.
public import_from_meta ( $args, $assoc_args )

insert_redirect() 공개 메소드

Insert a single redirect
public insert_redirect ( $args, $assoc_args )