MasterPress 1.3.1 is a compatibility release for PHP 8 and WordPress 5.7. It still remains backwards compatible with older PHP versions.
- Array An x,y coordinate for the image.
Gets co-ordinates to use for the anchoring points usable by the WOOF_Image::watermark method to determine where the watermark is placed.
Note: this method is intended for internal use
The “destination” width – in the case of a watermark, the width of the image TO BE watermarked.
The “destination” height – in the case of a watermark, the height of the image TO BE watermarked.
The “source” width – in the case of a watermark, the width of the watermark image.
The “source” height – in the case of a watermark, the height of the watermark image.
String $at = c
The anchor point, which can be any one of:
- tl => Top-Left
- t => Top Middle
- tr => Top-Right
- r => Right
- br => Bottom Right
- b => Bottom Middle
- bl => Bottom-Left
- l => Left
- c => Center
Or you can use compass-point coordinates:
- nw => North-west
- n => North
- ne => North-east
- e => East
- se => South-East
- s => South
- sw => South-West
- w => West