PHP Class Inpsyde\MultilingualPress\Widget\Dashboard\UntranslatedPosts\TranslationCompletedSettingView

Since: 3.0.0
显示文件 Open project: inpsyde/multilingual-press

Public Methods

Method Description
__construct ( Inpsyde\MultilingualPress\Widget\Dashboard\UntranslatedPosts\PostRepository $post_repository, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce ) Constructor. Sets up the properties.
render ( WP_Post $post ) : void Renders the setting markup.

Method Details

__construct() public method

Constructor. Sets up the properties.
Since: 3.0.0
public __construct ( Inpsyde\MultilingualPress\Widget\Dashboard\UntranslatedPosts\PostRepository $post_repository, Inpsyde\MultilingualPress\Common\Nonce\Nonce $nonce )
$post_repository Inpsyde\MultilingualPress\Widget\Dashboard\UntranslatedPosts\PostRepository Untranslated posts repository object.
$nonce Inpsyde\MultilingualPress\Common\Nonce\Nonce Nonce object.

render() public method

Renders the setting markup.
Since: 3.0.0
public render ( WP_Post $post ) : void
$post WP_Post Post object.
return void