메소드 | 설명 | |
---|---|---|
filter_widget_update ( array $instance, array $new_instance, array $old_instance, WP_Widget $class ) : array | Filter widget update. |
메소드 | 설명 | |
---|---|---|
get_attachment_id_from_url ( string $url ) : boolean | integer | Get attachment ID from URL. | |
get_attachment_ids_from_urls ( array $urls ) : array | Get attachment IDs from URLs. | |
get_base_url ( integer $attachment_id ) : string | false | Get base URL. | |
get_url ( integer $attachment_id, null | string $size = null ) : boolean | string | Get URL | |
init ( ) | Init. | |
normalize_find_value ( string $url ) : string | Normalize find value. | |
normalize_replace_value ( string $url ) : string | Normalize replace value. | |
post_process_content ( string $content ) : string | Post process content. | |
pre_replace_content ( string $content ) : string | Pre replace content. | |
url_needs_replacing ( string $url ) : boolean | Does URL need replacing? |
protected get_attachment_ids_from_urls ( array $urls ) : array | ||
$urls | array | |
리턴 | array | url => attachment ID (or false) |
protected get_base_url ( integer $attachment_id ) : string | false | ||
$attachment_id | integer | |
리턴 | string | false |
protected normalize_find_value ( string $url ) : string | ||
$url | string | |
리턴 | string |
protected normalize_replace_value ( string $url ) : string | ||
$url | string | |
리턴 | string |
protected post_process_content ( string $content ) : string | ||
$content | string | |
리턴 | string |
protected pre_replace_content ( string $content ) : string | ||
$content | string | |
리턴 | string |
protected url_needs_replacing ( string $url ) : boolean | ||
$url | string | |
리턴 | boolean |