Class Shortcut
Handle the metadata and attached file for shortcuts.
- MatthiasWeb\RealMediaLibrary\base\Base
-
MatthiasWeb\RealMediaLibrary\attachment\Shortcut
Methods summary
public
|
|
public
|
#
get_post_metadata( $check, $object_id, $meta_key, $single )
If it is a shortcut, read the metadata from the source file. It also handles the wp_delete_attachment process to avoid to delete the source files if shortcut. |
public
|
#
add_post_metadata( $check, $object_id, $meta_key, $meta_value, $unique )
Avoids to generate own meta data for shortcuts. |
public
|
#
update_post_metadata( $check, $object_id, $meta_key, $meta_value, $prev_value )
Avoids to generate own meta data for shortcuts. |
public
|
|
public
|
|
public
|
|
public static
|